Search found 1 match
- 05 Nov 2015, 20:24
- Forum: Laravel package
- Topic: How to protect admin routes
- Replies: 1
- Views: 2412
How to protect admin routes
I've added these lines to app/Http/routes.php : Route::group(['middleware' => 'auth'], function() { require base_path('vendor/aimeos/aimeos-laravel/src/routes.php'); }); But the admin board still opens up without authentication. I'm on Laravel 5.1 and I've just followed the official instructions to ...