Open fizzcome opened 8 years ago
Can i use it for routes group like laravel's route as below :
Route::group(['namespace' => 'Admin'], function() { // Controllers Within The "App\Http\Controllers\Admin" Namespace Route::group(['namespace' => 'User'], function() { // Controllers Within The "App\Http\Controllers\Admin\User" Namespace }); });
or
Route::group(['middleware' => 'auth'], function () { Route::get('/', function () { // Uses Auth Middleware }); Route::get('user/profile', function () { // Uses Auth Middleware }); });
If someone could implement this that would be great!
that would take a complete re-write.
Can i use it for routes group like laravel's route as below :
or
I just want to seperate different modules