aboutsummaryrefslogtreecommitdiff
path: root/src/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.php')
-rw-r--r--src/routes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routes.php b/src/routes.php
index 027603c..4935f7c 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -31,6 +31,9 @@ Route::group(array('https'), function() {
Route::resource('user', 'CamilStaps\BotleaguesApi\UserController',
['except' => ['index', 'show', 'create','edit','store']]);
+
+ Route::resource('user_token', 'CamilStaps\BotleaguesApi\UserTokenController',
+ ['only' => ['index', 'show', 'store']]);
Route::group(array('before' => 'administrator'), function() {