aboutsummaryrefslogtreecommitdiff
path: root/src/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.php')
-rw-r--r--src/routes.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/routes.php b/src/routes.php
index 89091fe..8ff2436 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -42,12 +42,7 @@ $app->group(['https'], function() use ($api) {
['only' => ['index','show']]);
$api->resource('user', 'CamilStaps\BotleaguesApi\Controllers\UserController',
- ['only' => ['index','show','store'],
- 'names' => [
- 'index' => 'user.index',
- 'show' => 'user.show',
- 'store' => 'user.store'
- ]]);
+ ['only' => ['index','show','store']]);
$api->resource('user.password_reminder', 'CamilStaps\BotleaguesApi\Controllers\PasswordReminderController',
['only' => ['store']]);