Switch some unnecessary button calls over to links.

This commit is contained in:
yackob03 2013-10-29 13:41:26 -04:00
parent e8cbc9c864
commit a313a77a6b
4 changed files with 7 additions and 19 deletions

View file

@ -229,14 +229,6 @@ function LandingCtrl($scope, $timeout, $location, Restangular, UserService, KeyS
return getMarkedDown(getFirstTextLine(commentString));
};
$scope.browseRepos = function() {
$location.path('/repository/');
};
$scope.createRepo = function() {
$location.path('/new/');
};
$scope.register = function() {
$('.form-signup').popover('hide');
$scope.registering = true;
@ -896,10 +888,6 @@ function V1Ctrl($scope, $location, UserService) {
$scope.$watch( function () { return UserService.currentUser(); }, function (currentUser) {
$scope.user = currentUser;
}, true);
$scope.browseRepos = function() {
$location.path('/repository/');
};
}
function NewRepoCtrl($scope, $location, $http, UserService, Restangular, PlanService) {