slow-yellowS
Refine12mo ago
15 replies
slow-yellow

show() - edit() route customization

Hi,

Is it possible to customize how the show and edit commands work?

I need to use two different routes for the same resource based on a custom logic

e.g.
Case 1 : /resource/[id]
Case 2: /custom/resource/[id]

is it possible to customize show so that, according to the specific logic, I navigate to a different page?
Was this page helpful?