Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Final Clean Up after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
trainerbill committed Jul 24, 2015
1 parent 03a4042 commit 1b54d35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion modules/articles/client/config/articles.client.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ angular.module('articles').config(['$stateProvider',
state('articles.list', {
url: '',
templateUrl: 'modules/articles/views/list-articles.client.view.html'

}).
state('articles.create', {
url: '/create',
Expand Down
1 change: 1 addition & 0 deletions modules/core/client/app/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ angular.module(ApplicationConfiguration.applicationModuleName).run(function($roo
toState.data.roles.forEach(function (role) {
if (Authentication.user.roles !== undefined && Authentication.user.roles.indexOf(role) !== -1) {
allowed = true;
return true;
}
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

angular.module('users').controller('SettingsController', ['$scope', '$location', 'Authentication',
function($scope, $location, Authentication) {
angular.module('users').controller('SettingsController', ['$scope', 'Authentication',
function($scope, Authentication) {
$scope.user = Authentication.user;
}
]);

0 comments on commit 1b54d35

Please sign in to comment.