I’m working with a remote API that calls a URL in my app, passing in a
parameter named action. So the request would look like:
Routing correctly interprets the controller action as index. However,
it sets params[:action] to index as well. I know that’s how it’s
supposed to work…but it means I lose the action parameter passed in.
What’s the easiest way to get the action parameter? I can’t change
the name, at least on the API end.