mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 18:33:46 +02:00
Clean up routes and middleware checking
This commit is contained in:
@@ -15,11 +15,7 @@ class BaseController extends Controller
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
// All routes in this controller are protected by the authentication middleware.
|
||||
$this->middleware('auth');
|
||||
$this->middleware('admin');
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
public function getIndex(Request $request)
|
||||
|
||||
Reference in New Issue
Block a user