File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/PlaygroundUser/Controller/Admin Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 444444 'list ' => array (
445445 'type ' => 'Segment ' ,
446446 'options ' => array (
447- 'route ' => '/list[ /:roleId] [/:filter][/:p] ' ,
447+ 'route ' => '/list/:roleId[/:filter][/:p] ' ,
448448 'defaults ' => array (
449449 'controller ' => 'playgrounduseradmin ' ,
450450 'action ' => 'list ' ,
451- // 'roleId' => 'user ',
451+ 'roleId ' => 'all ' ,
452452 'filter ' => 'DESC '
453453 ),
454454 'constraints ' => array (
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public function listAction()
1717 {
1818 $ filter = $ this ->getEvent ()->getRouteMatch ()->getParam ('filter ' );
1919 $ roleId = $ this ->getEvent ()->getRouteMatch ()->getParam ('roleId ' );
20- $ search = $ this ->params ()->fromQuery ('name ' );
20+ $ search = $ this ->params ()->fromQuery ('name ' );
2121
2222 $ role = $ this ->getAdminUserService ()->getRoleMapper ()->findByRoleId ($ roleId );
2323
You can’t perform that action at this time.
0 commit comments