From 641343e38df2efbd2a23f425f8a49b9795b21ded Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 26 Apr 2015 17:58:30 +0200 Subject: user routes --- src/routes.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/routes.php') 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 @@ '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 -- cgit v1.2.3