Try using
I think it is suggested to use class names with method names.
EDIT:
How the routing of the playback platform works, you define some route as
GET /clients Clients.index
If the request meets the URI /clients , then it will be intercepted by Clients.index() . If you have other routing, such that
GET /clients Clients.save
Then the structure ignores this routing because /clients aready has a mapping. (Most likely, this leads to some error in the console or logging thread, check your logs.)
Therefore, you cannot make it work like this. I see you are requesting a backward mapping that will return the same URI for different methods. However, the structure aims to intercept requests so that it simply ignores your second routing.
Try to split the pages. Most likely, you want to make the same representations for two functions. You can do this without redirecting them to the same URI.
source share