Reputation: 2847
There are two different controllers which have to invoke the Y action inside controller X. But the route varies according to the controller it is called from.
When Y called from controller A its route becomes A/X/Y
When Y called from controller B its route becomes B/X/Y
How can we make the route always be X/Y irrespective of the calling controller?
Upvotes: 0
Views: 204