i don''t really understand your request, but the only thing you need is
to target the good action with your login form. and you can have as
much form as you want in your page.
or maybe you want to use ''redirect_to'' in your main controller
to
redirect action to another one.
On Nov 19, 6:04 pm, KJF
<Kevin.Fag...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> I am using the acts_as_authenticated plugin. When installed it creates
> a user model and a account controller which handles signup, login and
> logout which is very nice.
> The problem I''m having is that I want the user to be able to login
> from the main page of my application which is handled by a different
> controller, lets call it the main controller.
>
> Is there an elegant way of using the account controller login logic
> instead without moving it to my main controller. I really would like
> to keep them separate.
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---