I want to redirect_to a different Rails page, as well as pass some parameters which can be accessed in the other controller action. If I do it like this, it's a GET call by default(as per the HTTP specification), which means that the parameters will be visible in the URL (which is not a good idea.)
Controller1
Action1
redirect_to path_to_action2(:parameters => "values")
end
Controller2
Action2
#...parameters to be accessed here
end
A way of doing this can be introducing an intermediate step, by creating a POST form which displays a Dummy message to the user and makes the POST call for us. But I don't want to introduce an extra step, then how to do so?