Ajax - layout problem

Hi guys

Here is my problem…

Using Ajax to update a div with link_to_remote. Problem is I have a
layout
defined in my class, so, the div gets the layout when I call the method,
how
di I tell a method to ingore the layout?

Cheers.
Pieter.

Using Ajax to update a div with link_to_remote. Problem is I have a layout
defined in my class, so, the div gets the layout when I call the method, how
di I tell a method to ingore the layout?

def update_page
render(:layout => false)

end

ty

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs