I have a route group which effected by auth middleware, and inside of this group I want to except one route. But this route also located in other Route group, so when I try to move it out of this group its not working. How I should fix this problem, and except a 'UrlProfile' function from auth middleware?.. I use laravel 5.1
Route::group(['middleware' => 'auth'], function () {
....
..
..
..
Route::group(['namespace' => 'Lawyer'], function() {
Route::get('profile/{name}', 'ProfileController@UrlProfile');
}
};
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2vzLDvt
via IFTTT
Aucun commentaire:
Enregistrer un commentaire