Forum: Ruby on Rails Call RJS from Another Folder

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Abb249055208c7af4d35568e422dfd63?d=identicon&s=25 Guest (Guest)
on 2007-02-27 20: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.

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