Clean up routes and middleware checking
This commit is contained in:
parent
99a67127c9
commit
4ae8a45ed3
16 changed files with 321 additions and 101 deletions
app/Http/Controllers/Admin
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue