File tree 2 files changed +6
-3
lines changed
app/templates/client/app/account(auth)
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ angular.module('<%= scriptAppName %>')
13
13
)
14
14
.when (' /settings' ,
15
15
templateUrl : ' app/account/settings/settings.html'
16
- controller : ' SettingsCtrl'
16
+ controller : ' SettingsCtrl' ,
17
+ authenticate : true
17
18
)< % } % >< % if (filters .uirouter ) { % > .config ($stateProvider) ->
18
19
$stateProvider
19
20
.state (' login' ,
@@ -29,5 +30,6 @@ angular.module('<%= scriptAppName %>')
29
30
.state (' settings' ,
30
31
url : ' /settings' ,
31
32
templateUrl : ' app/account/settings/settings.html'
32
- controller : ' SettingsCtrl'
33
+ controller : ' SettingsCtrl' ,
34
+ authenticate : true
33
35
)< % } % >
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ angular.module('<%= scriptAppName %>')
31
31
. state ( 'settings' , {
32
32
url : '/settings' ,
33
33
templateUrl : 'app/account/settings/settings.html' ,
34
- controller : 'SettingsCtrl'
34
+ controller : 'SettingsCtrl' ,
35
+ authenticate : true
35
36
} ) ;
36
37
} ) ; < % } % >
You can’t perform that action at this time.
0 commit comments