So I want to create admin page,
The result I want is like this
foo.com/admin/anthony
foo.com/admin/anthony/dologin
foo.com/admin/anthony/index
I tried using this routes
Route::any('admin/{username}', 'adminController@login'):
Route::any('admin/{username}/login', 'adminController@dologin');
I want to use every username parameter in admin page, but wont redeclare every page.