Friday, March 17, 2017

Routing confusions

Check this out.

    Route::group(['namespace' => 'Frontend', 'as' => 'frontend::'], function () {
        Route::get('', 'HomeController@index')->name('home');
        Route::get('', 'FashionController@index')->name('fashion');
    });

I can't access the home route by route('frontend::home'). Just need to know how to access these routes. PS: I'm a newbie. A little explanation rather than hate would be appreciated. Thanks.



via Subham Kharel

Advertisement