Skip to content

Commit

Permalink
add redirect in docs app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lordfriend committed Nov 22, 2014
1 parent e16a6a9 commit 2aaeb8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/dist/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ angular.module('docApp', ['ui.router', 'nya.bootstrap.select', 'directives', 'fi

$urlRouterProvider
.when('/main', '/main/'+ pages.main[0])
.when('/examples', '/examples/' + pages.examples[0]);
.when('/examples', '/examples/' + pages.examples[0])
.otherwise('/main/' + pages.main[0]);

angular.forEach(pages, function(children, stateName){
$stateProvider.state(stateName, {
Expand Down

0 comments on commit 2aaeb8f

Please sign in to comment.