How to protect admin routes
Posted: 05 Nov 2015, 20:24
I've added these lines to app/Http/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 install Aimeos : )
Code: Select all
Route::group(['middleware' => 'auth'], function() {
require base_path('vendor/aimeos/aimeos-laravel/src/routes.php');
});
I'm on Laravel 5.1 and I've just followed the official instructions to install Aimeos : )