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.
A878ddd72afd550916074d25f5e94cc2?d=identicon&s=25 wheels (Guest)
on 2007-01-19 16: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?
70225136eacd3d870f64e03bff678655?d=identicon&s=25 Russell Norris (Guest)
on 2007-01-19 16:29
(Received via mailing list)
Sounds like you need render :template.
This topic is locked and can not be replied to.