| 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; |
||
| 20 | 12 | public function map() |
|
| 21 | { |
||
| 22 | $this->prefix('profile')->name('profile.')->group(function () { |
||
| 23 | 12 | $this->get('/', 'ProfileController@index') |
|
| 24 | 12 | ->name('index'); // admin::auth.profile.index |
|
| 25 | |||
| 26 | // TODO: Remove the user id ?? |
||
| 27 | 12 | $this->prefix('{auth_user}/password')->name('password.')->group(function () { |
|
| 28 | 12 | $this->put('/', 'ProfileController@updatePassword') |
|
| 29 | 12 | ->name('update'); // admin::auth.profile.password.update |
|
| 30 | 12 | }); |
|
| 31 | 12 | }); |
|
| 32 | 12 | } |
|
| 33 | } |
||
| 34 |