Route::register the file path given here can be overridden or not ?


When we use route::register if we register some CONTROLLER function here, but when i try to over ride the CONTROLLER it is not being used from over ride path instead it use its original one why ? Is this a bug yet ?

View Replies:
mnakalay replied on at Permalink Reply
when creating a route, you indicate a resource by its namespace. Overriding a controller, the override has a different namespace.

You might want to intercept the route using a middleware and send it to your override.
I think Route::get() can do that but it would require testing
savan replied on at Permalink Reply
Hello mnakalay ,

Thanks for reply, I will try for it and let you know.