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



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2AhNuGs
via IFTTT

Aucun commentaire:

Enregistrer un commentaire