Skip to content

Commit

Permalink
Autoredirect to /
Browse files Browse the repository at this point in the history
  • Loading branch information
leostera committed Oct 9, 2013
1 parent d746a25 commit 16a2a60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -55784,6 +55784,9 @@ angular.module('static')
.when('/', {
controller: 'home',
template: require('./views/home')
})
.otherwise({
redirectTo: '/'
});
}]);
});
Expand Down
3 changes: 3 additions & 0 deletions modules/static/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@ angular.module('static')
.when('/', {
controller: 'home',
template: require('./views/home')
})
.otherwise({
redirectTo: '/'
});
}]);

0 comments on commit 16a2a60

Please sign in to comment.