Hi, i'm trying dyamically add a bit of code into a page by updating a div. this works great but it puts the page in with the standard layout around it duplicating it. Is there someway just to bypass using any layout with a rhtml file?
on 2006-05-21 09:27
on 2006-05-21 12:15
To not use any layout: def some_method render(:layout => false) end To use a layout you specify: def some_method render(:layout => "layouts/yourlayout") end