Skip to content

Commit

Permalink
Step 5.6: Set html5Mode and parties as default route
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and DAB0mB committed Dec 14, 2016
1 parent 4d6ba03 commit 819bb05
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion imports/ui/components/socially/socially.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,13 @@ export default angular.module(name, [
template,
controllerAs: name,
controller: Socially
});
})
.config(config);

function config($locationProvider, $urlRouterProvider) {
'ngInject';

$locationProvider.html5Mode(true);

$urlRouterProvider.otherwise('/parties');
}

0 comments on commit 819bb05

Please sign in to comment.