Could someone please explain this:
Error while processing route: reports.index Assertion Failed: You’re not allowed to have more than one controller property map to the same query param key, but both reports:type
and reports.buyer:type
map to type
. You can fix this by mapping one of the controller properties to a different query param key via the as
config option, e.g. type: { as: 'other-type' }
Error: Assertion Failed: You’re not allowed to have more than one controller property map to the same query param key, but both reports:type
and reports.buyer:type
map to type
. You can fix this by mapping one of the controller properties to a different query param key via the as
config option, e.g. type: { as: 'other-type' }
I have two controllers that needs to behave depends on query params. What is the workaround here? I’m not sure that I understand the logic behind limiting this to only controller.