/ Published in: Rails
Expand |
Embed | Plain Text
def render(*args) args.first[:layout] = false if request.xhr? and args.first[:layout].nil? super end
Comments
Subscribe to comments
You need to login to post a comment.

Place in application controller
intresting