| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Arcanesoft\Auth\Http\Routes\Admin; |
||
| 23 | 12 | public function map(Registrar $router) |
|
| 24 | { |
||
| 25 | $this->group(['prefix' => 'profile', 'as' => 'profile.'], function () { |
||
| 26 | 12 | $this->get('/', 'ProfileController@index') |
|
| 27 | 12 | ->name('index'); // admin::auth.profile.index |
|
| 28 | |||
| 29 | // TODO: Remove the user id ?? |
||
| 30 | 12 | $this->group(['prefix' => '{auth_user}/password', 'as' => 'password.'], function () { |
|
| 31 | 12 | $this->put('/', 'ProfileController@updatePassword') |
|
| 32 | 12 | ->name('update'); // admin::auth.profile.password.update |
|
| 33 | 12 | }); |
|
| 34 | 12 | }); |
|
| 35 | 12 | } |
|
| 36 | } |
||
| 37 |