# RESTfull authentication location storage problem

**URL:** <https://www.ruby-forum.com/t/restfull-authentication-location-storage-problem/155139>\
**Category:** Rails\
**Created:** [December 8, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/restfull-authentication-location-storage-problem/155139 "2008-12-08T17:12:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cautaro](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/dbc845/32.png) [@cautaro](https://www.ruby-forum.com/u/cautaro)\
**Post date:** [December 8, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/restfull-authentication-location-storage-problem/155139/1 "2008-12-08T17:12:03Z")

</div>

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,
