Popup Content Without Application Layout


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?


Add render :layout => false to the end of your controller’s action to
it skip the layout portion of rendering.

D. Taylor S.
Reality Technician