Workaround slash in profile name for web hash URL. Fix #50.

This commit is contained in:
FelisCatus 2014-10-21 23:42:35 +08:00
parent 80978b6670
commit 61e5efce59

View File

@ -55,7 +55,7 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider,
templateUrl: 'partials/io.html'
controller: 'IoCtrl'
).state('profile',
url: '/profile/:name'
url: '/profile/*name'
templateUrl: 'partials/profile.html'
controller: 'ProfileCtrl'
).state('about',