| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Arcanesoft\Auth\Http\Routes\Admin; |
||
| 20 | public function map() |
||
| 21 | { |
||
| 22 | 15 | $this->prefix('password-resets')->name('password-resets.')->group(function () { |
|
| 23 | 15 | $this->get('/', 'PasswordResetsController@index') |
|
| 24 | 15 | ->name('index'); // admin::auth.password-resets.index |
|
| 25 | |||
| 26 | 15 | $this->delete('clear', 'PasswordResetsController@clear') |
|
| 27 | 15 | ->middleware('ajax') |
|
| 28 | 15 | ->name('clear'); // admin::auth.password-resets.clear |
|
| 29 | |||
| 30 | 15 | $this->delete('delete', 'PasswordResetsController@delete') |
|
| 31 | 15 | ->middleware('ajax') |
|
| 32 | 15 | ->name('delete'); // admin::auth.password-resets.delete |
|
| 33 | 15 | }); |
|
| 34 | 15 | } |
|
| 35 | } |
||
| 36 |