Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Can i use it for routes group ? #42

Open
fizzcome opened this issue Mar 1, 2016 · 2 comments
Open

Can i use it for routes group ? #42

fizzcome opened this issue Mar 1, 2016 · 2 comments

Comments

@fizzcome
Copy link

fizzcome commented Mar 1, 2016

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
    });
});

I just want to seperate different modules

@artyuum
Copy link
Contributor

artyuum commented Sep 2, 2017

If someone could implement this that would be great!

@dcblogdev
Copy link
Contributor

that would take a complete re-write.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants