Account Creation in AdminCP
This commit is contained in:
parent
d0e4592377
commit
3d80c5b7e6
5 changed files with 136 additions and 3 deletions
|
@ -13,8 +13,10 @@ class AdminRoutes {
|
|||
// Account Routes
|
||||
$router->group(['prefix' => 'accounts'], function ($server) use ($router) {
|
||||
$router->get('/', [ 'as' => 'admin.accounts', 'uses' => 'Admin\AccountsController@getIndex' ]);
|
||||
$router->get('/new', [ 'as' => 'admin.accounts.new', 'uses' => 'Admin\AccountsController@getNew' ]);
|
||||
$router->get('/view/{id}', [ 'as' => 'admin.accounts.view', 'uses' => 'Admin\AccountsController@getView' ]);
|
||||
|
||||
$router->get('/new', [ 'as' => 'admin.accounts.new', 'uses' => 'Admin\AccountsController@getNew' ]);
|
||||
$router->post('/new', [ 'as' => 'admin.accounts.new', 'uses' => 'Admin\AccountsController@postNew' ]);
|
||||
});
|
||||
|
||||
// Server Routes
|
||||
|
|
Reference in a new issue