Routes are matched in order. You have a route defined as '{id}' which will match 'anything' or 'login' or 'blah' etc.... So it will never make it to any other route defined below it with a similar URI for that segment.
Route::get('{id}', ...)
Will match http://yoursite.com/ANYTHING-HERE
or http://yoursite.com/logout
etc ...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community