Skip to content

Commit

Permalink
fix(app-logout): add blank templates to logout route/state
Browse files Browse the repository at this point in the history
Closes #570
  • Loading branch information
kingcody committed Sep 21, 2014
1 parent a817ec9 commit 650d244
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/templates/client/app/account(auth)/account(js).js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ angular.module('<%= scriptAppName %>')
.when('/logout', {
name: 'logout',
referrer: '/',
template: '',
controller: function($location, $route, Auth) {
var referrer = $route.current.params.referrer ||
$route.current.referrer ||
Expand Down Expand Up @@ -44,6 +45,7 @@ angular.module('<%= scriptAppName %>')
.state('logout', {
url: '/logout?referrer',
referrer: 'main',
template: '',
controller: function($state, Auth) {
var referrer = $state.params.referrer ||
$state.current.referrer ||
Expand Down

0 comments on commit 650d244

Please sign in to comment.