diff options
author | Camil Staps | 2015-04-26 17:58:30 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-26 17:58:30 +0200 |
commit | 641343e38df2efbd2a23f425f8a49b9795b21ded (patch) | |
tree | 8edcecaea061261e48861625f12926675783fb81 /src/routes.php | |
parent | user.create endpoint (diff) |
user routes
Diffstat (limited to 'src/routes.php')
-rw-r--r-- | src/routes.php | 6 |
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 |