Forum: Ruby on Rails Popup Content Without Application Layout

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.
Jeremy L. (Guest)
on 2007-07-24 18:41
I am building a page that uses ThickBox
(http://jquery.com/demo/thickbox/) to display details about a record. A
user clicks a link on the page and a ThickBox pops up showing the record
as HTML. Unfortunately since I have an overall layout setup in my
application layout, that HTML is showing in the small popup box and it
doesn't match.

How do I remove the added layout for just this specific view? Do I have
to turn the entire layout into a number of partials and insert them for
every view?
D. Taylor S. (Guest)
on 2007-07-26 02:45
(Received via mailing list)
Add render :layout => false to the end of your controller's action to
have
it skip the layout portion of rendering.

D. Taylor S.
Reality Technician
http://realitytechnicians.com
This topic is locked and can not be replied to.