mardi 28 novembre 2017

Route management issue Laravel 5.5

This is part of my routes/web.php file

if(Request::is('users/*'))
    {
        require __DIR__.'/users.php';
    }

I have a file named users.php under the same folder

Route::get('profile',[
    'middleware' => 'auth',
    'uses' =>'home\HomeController@profile'])->name('userprofile');

I'm trying to access users/profile route. But it is not working. Please help

Thanks in Advance



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire