Forum: Ruby on Rails methods inheriting from applicationcontroller

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
wheels (Guest)
on 2007-01-19 17:29
(Received via mailing list)
i have a method called  def signin defined in the

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

How can I avoid copying and pasting the same signin.rhtml page into
each controller's view folder?
Russell N. (Guest)
on 2007-01-19 17:29
(Received via mailing list)
Sounds like you need render :template.
This topic is locked and can not be replied to.