From 64ebca3e5b247e5e692a6a2c0f1de7cf6b374d66 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 21 Feb 2015 22:15:00 +0100 Subject: filters --- src/routes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/routes.php') diff --git a/src/routes.php b/src/routes.php index 2f7a375..ac9bc31 100644 --- a/src/routes.php +++ b/src/routes.php @@ -1,9 +1,9 @@ 'auth.basic', function(){ return 'hello world'; -}); +}]); -Route::api(['version' => 'v1', 'before' => 'auth'], function () { +Route::api(['version' => 'v1'], function () { Route::resource('bot', 'CamilStaps\BotleaguesApi\BotController'); Route::resource('user', 'CamilStaps\BotleaguesApi\UserController'); }); \ No newline at end of file -- cgit v1.2.3