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?



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

Aucun commentaire:

Enregistrer un commentaire