mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-02 02:58:13 -05:00
Workaround slash in profile name for web hash URL. Fix #50.
This commit is contained in:
parent
80978b6670
commit
61e5efce59
@ -55,7 +55,7 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider,
|
|||||||
templateUrl: 'partials/io.html'
|
templateUrl: 'partials/io.html'
|
||||||
controller: 'IoCtrl'
|
controller: 'IoCtrl'
|
||||||
).state('profile',
|
).state('profile',
|
||||||
url: '/profile/:name'
|
url: '/profile/*name'
|
||||||
templateUrl: 'partials/profile.html'
|
templateUrl: 'partials/profile.html'
|
||||||
controller: 'ProfileCtrl'
|
controller: 'ProfileCtrl'
|
||||||
).state('about',
|
).state('about',
|
||||||
|
Loading…
Reference in New Issue
Block a user