Forum: Ruby on Rails Call RJS from Another Folder

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.
Guest (Guest)
on 2007-02-27 21:56
Does anyone know how to call an RJS template from a controller in one
directory, where the RJS template lives somewhere else? For example my
controller is /controllers/people_controller.rb, and my template lives
in /views/blah/create.rjs.

I tried render :file => but that doesn't seem to work.

shily escape (Guest)
on 2007-02-28 03:14
(Received via mailing list)
I use it like this:
render :template =>
This topic is locked and can not be replied to.