Sounds like you need render :template.
On 1/8/07, wheels <wheels619-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
>
> i have a method called def signin defined in the
> applicationcontroller.
>
> All controllers inherit this method.This method needs a corresponding
> signin.rhtml page in the respective controller folder. So if i call
> signin from "car" controller, it expects a signin.rhtml in the
car view
> folder.
>
> How can I avoid copying and pasting the same signin.rhtml page into
> each controller''s view folder?
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---