Forum: Ruby on Rails RESTfull authentication location storage problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E7349346374a0c685bf8055b7977af5c?d=identicon&s=25 Andrei Erdoss (cautaro)
on 2008-12-08 17:12
(Received via mailing list)
Hello,

I am using RESTfull authentication as my login manager. The following
scenario fails to work properly.

I have a public page on which there is a button on a form (a create
action), which when clicked requires login. RA stores the create
action path, yet after login is displaying the index action. I am
using RESTful routes and I understand why the script redirects to
index and not create.

Is there a way to specify that it's POST request and not a GET, in
order for this to work?

Thanks,
This topic is locked and can not be replied to.