Switch some unnecessary button calls over to links.
This commit is contained in:
parent
e8cbc9c864
commit
a313a77a6b
4 changed files with 7 additions and 19 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue