aboutsummaryrefslogtreecommitdiff
path: root/src/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.php')
-rw-r--r--src/routes.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/routes.php b/src/routes.php
index cd04415..707bf06 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -1,7 +1,9 @@
<?php
Route::group(array('https'), function() {
Route::api(['version' => 'v1', 'protected' => true, 'providers' => 'basic'], function () {
- Route::resource('bot', 'CamilStaps\BotleaguesApi\BotController');
- Route::resource('user', 'CamilStaps\BotleaguesApi\UserController');
+ Route::resource('bot', 'CamilStaps\BotleaguesApi\BotController',
+ array('except' => ['create','edit']));
+ Route::resource('user', 'CamilStaps\BotleaguesApi\UserController',
+ array('except' => ['create','edit']));
});
}); \ No newline at end of file