Frederick Cheung wrote:
> On Mar 21, 7:00�pm, Tiger Big one <li...@ruby-forum.com> wrote:
>>
> In the case where the request is a post request and if the user is
> logged in successfully you are calling redirect_to :action => 'index'
> twice
>
> Fred
I wrote the same code (exactly the same code)...twice for def login and
def register.
Does that matter?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment