Add render :layout => false to the end of your controller''s action
to have
it skip the layout portion of rendering.
D. Taylor Singletary
Reality Technician
http://realitytechnicians.com
On 7/24/07, Jeremy Luebke
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> 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?
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---