aboutsummaryrefslogtreecommitdiff
path: root/src/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.php')
-rw-r--r--src/routes.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/routes.php b/src/routes.php
index 1ac35ab..f866789 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -1,14 +1,5 @@
<?php
-Route::get('users', ['before' => 'auth.basic', function(){
- return 'hello world';
-}]);
-
Route::api(['version' => 'v1', 'protected' => true, 'providers' => 'basic'], function () {
Route::resource('bot', 'CamilStaps\BotleaguesApi\BotController');
Route::resource('user', 'CamilStaps\BotleaguesApi\UserController');
-});
-
-Route::when('bot', 'botleaguesapi-http-auth');
-Route::when('bot/*', 'botleaguesapi-http-auth');
-Route::when('user', 'botleaguesapi-http-auth');
-Route::when('user/*', 'botleaguesapi-http-auth'); \ No newline at end of file
+}); \ No newline at end of file