Forum: Ruby on Rails Layouts for RJS templates?

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.
328f0bb678423fcea01ebe3b0edc74e6?d=identicon&s=25 Ben Johnson (benjohnson)
on 2007-04-19 09:14
Is it possible to have layouts for RJS templates?

The reason I ask is because I have code in my rjs templates the does the
same thing as flash. If there are alerts in the flash hash then I
display them by adding the html via javascript. I don't want to include
this code in every rjs file. Which is why a layout would be nice.

Is this possible?

Thanks!
This topic is locked and can not be replied to.