vendredi 28 juillet 2017

laravel 5.4 route group redirect

I have created a route group like this:

Route::group( [ 'middleware' => [ 'auth' ] ], function () {
    // instagram
    Route::get( '/hashtags', 'MyController@index' )->name( 'my.index' );
} );

When I try to access the /hashtag url when not logged in I get redirected to the /login url. How can I change this to just the / url so I don't get to see the login page?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire