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