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

Permalink
Hello,

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
mnakalay
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.