Methods inheriting from applicationcontroller


#1

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?


#2

Sounds like you need render :template.