@@ -39,7 +39,7 @@ |
||
| 39 | 39 | $this->prefix('{'.self::ROLE_WILDCARD.'}')->group(function () { |
| 40 | 40 | // admin::auth.permissions.roles.detach |
| 41 | 41 | $this->delete('detach', [RolesController::class, 'detach']) |
| 42 | - ->name('detach'); |
|
| 42 | + ->name('detach'); |
|
| 43 | 43 | }); |
| 44 | 44 | }); |
| 45 | 45 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $this->adminGroup(function () { |
| 28 | 28 | // admin::authorization.index |
| 29 | 29 | $this->get('/', [DashboardController::class, 'index']) |
| 30 | - ->name('index'); |
|
| 30 | + ->name('index'); |
|
| 31 | 31 | }); |
| 32 | 32 | } |
| 33 | 33 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | protected function moduleGroup(Closure $callback) |
| 29 | 29 | { |
| 30 | 30 | $this->prefix('authorization') |
| 31 | - ->name('auth.') |
|
| 32 | - ->group($callback); |
|
| 31 | + ->name('auth.') |
|
| 32 | + ->group($callback); |
|
| 33 | 33 | } |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $this->prefix('components')->name('components.')->group(function () { |
| 29 | 29 | // admin::api.components.handle |
| 30 | 30 | $this->post('/', [ComponentsController::class, 'handle']) |
| 31 | - ->name('handle'); |
|
| 31 | + ->name('handle'); |
|
| 32 | 32 | }); |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $this->prefix('metrics')->name('metrics.')->group(function () { |
| 29 | 29 | // admin::api.metrics.handle |
| 30 | 30 | $this->post('/', [MetricsController::class, 'handle']) |
| 31 | - ->name('handle'); |
|
| 31 | + ->name('handle'); |
|
| 32 | 32 | }); |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | $this->prefix('events')->name('events.')->group(function () { |
| 29 | 29 | // admin::api.events.handle |
| 30 | 30 | $this->post('/', [EventsController::class, 'handle']) |
| 31 | - ->name('handle'); |
|
| 31 | + ->name('handle'); |
|
| 32 | 32 | }); |
| 33 | 33 | } |
| 34 | 34 | } |
@@ -34,6 +34,6 @@ |
||
| 34 | 34 | { |
| 35 | 35 | // admin::index |
| 36 | 36 | $this->get('/', [DashboardController::class, 'index']) |
| 37 | - ->name('index'); |
|
| 37 | + ->name('index'); |
|
| 38 | 38 | } |
| 39 | 39 | } |
@@ -33,17 +33,17 @@ |
||
| 33 | 33 | public function map(): void |
| 34 | 34 | { |
| 35 | 35 | $this->prefix('password/confirm') |
| 36 | - ->name('password.confirm.') |
|
| 37 | - ->middleware(['arcanesoft']) |
|
| 38 | - ->group(function () { |
|
| 39 | - // admin::auth.password.confirm.create |
|
| 40 | - $this->get('/', [ConfirmPasswordController::class, 'create']) |
|
| 41 | - ->name('create'); |
|
| 42 | - |
|
| 43 | - // admin::auth.password.confirm.store |
|
| 44 | - $this->post('/', [ConfirmPasswordController::class, 'store']) |
|
| 45 | - ->name('store'); |
|
| 46 | - }); |
|
| 36 | + ->name('password.confirm.') |
|
| 37 | + ->middleware(['arcanesoft']) |
|
| 38 | + ->group(function () { |
|
| 39 | + // admin::auth.password.confirm.create |
|
| 40 | + $this->get('/', [ConfirmPasswordController::class, 'create']) |
|
| 41 | + ->name('create'); |
|
| 42 | + |
|
| 43 | + // admin::auth.password.confirm.store |
|
| 44 | + $this->post('/', [ConfirmPasswordController::class, 'store']) |
|
| 45 | + ->name('store'); |
|
| 46 | + }); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | } |
@@ -35,24 +35,24 @@ |
||
| 35 | 35 | public function map(): void |
| 36 | 36 | { |
| 37 | 37 | $this->prefix('password') |
| 38 | - ->name('password.') |
|
| 39 | - ->middleware(['guest']) |
|
| 40 | - ->group(function () { |
|
| 41 | - // admin::auth.password.request |
|
| 42 | - $this->get('forgotten', [PasswordResetLinkController::class, 'create']) |
|
| 43 | - ->name('request'); |
|
| 44 | - |
|
| 45 | - // admin::auth.password.email |
|
| 46 | - $this->post('forgotten', [PasswordResetLinkController::class, 'store']) |
|
| 47 | - ->name('email'); |
|
| 48 | - |
|
| 49 | - // admin::auth.password.reset |
|
| 50 | - $this->get('reset/{token}', [ResetPasswordController::class, 'edit']) |
|
| 51 | - ->name('reset'); |
|
| 52 | - |
|
| 53 | - // admin::auth.password.update |
|
| 54 | - $this->post('reset', [ResetPasswordController::class, 'update']) |
|
| 55 | - ->name('update'); |
|
| 56 | - }); |
|
| 38 | + ->name('password.') |
|
| 39 | + ->middleware(['guest']) |
|
| 40 | + ->group(function () { |
|
| 41 | + // admin::auth.password.request |
|
| 42 | + $this->get('forgotten', [PasswordResetLinkController::class, 'create']) |
|
| 43 | + ->name('request'); |
|
| 44 | + |
|
| 45 | + // admin::auth.password.email |
|
| 46 | + $this->post('forgotten', [PasswordResetLinkController::class, 'store']) |
|
| 47 | + ->name('email'); |
|
| 48 | + |
|
| 49 | + // admin::auth.password.reset |
|
| 50 | + $this->get('reset/{token}', [ResetPasswordController::class, 'edit']) |
|
| 51 | + ->name('reset'); |
|
| 52 | + |
|
| 53 | + // admin::auth.password.update |
|
| 54 | + $this->post('reset', [ResetPasswordController::class, 'update']) |
|
| 55 | + ->name('update'); |
|
| 56 | + }); |
|
| 57 | 57 | } |
| 58 | 58 | } |