List id for url consistently
The id for project group edit and detail pages was just listed as `:id` . Stories and projects use a regexp, here, so this makes the code more consistent. Change-Id: I67869aff8c3902b3b615aff7920a7f6b224ebbad
This commit is contained in:
parent
010a770214
commit
76d8f643a3
@ -45,7 +45,7 @@ angular.module('sb.project_group',
|
||||
controller: 'ProjectGroupListController'
|
||||
})
|
||||
.state('sb.project_group_detail', {
|
||||
url: '/project_group/detail/:id',
|
||||
url: '/project_group/detail/{id:[0-9]+}',
|
||||
templateUrl: 'app/project_group/template/detail.html',
|
||||
controller: 'ProjectGroupDetailController',
|
||||
resolve: {
|
||||
@ -63,7 +63,7 @@ angular.module('sb.project_group',
|
||||
}
|
||||
})
|
||||
.state('sb.project_group_edit', {
|
||||
url: '/project_group/edit/:id',
|
||||
url: '/project_group/edit/{id:[0-9]+}',
|
||||
templateUrl: 'app/project_group/template/edit.html',
|
||||
controller: 'ProjectGroupEditController',
|
||||
resolve: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user