Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
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 | 12 | $this->prefix('password-resets')->name('password-resets.')->group(function () { |
|
23 | 12 | $this->get('/', 'PasswordResetsController@index') |
|
24 | 12 | ->name('index'); // admin::auth.password-resets.index |
|
25 | |||
26 | 12 | $this->delete('clear', 'PasswordResetsController@clear') |
|
27 | 12 | ->middleware('ajax') |
|
28 | 12 | ->name('clear'); // admin::auth.password-resets.clear |
|
29 | |||
30 | 12 | $this->delete('delete', 'PasswordResetsController@delete') |
|
31 | 12 | ->middleware('ajax') |
|
32 | 12 | ->name('delete'); // admin::auth.password-resets.delete |
|
33 | 12 | }); |
|
34 | 12 | } |
|
35 | } |
||
36 |