/ 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

You need to login to post a comment.
deschism on 07/10/09
2 people have marked this snippet as a favorite
def render(*args) args.first[:layout] = false if request.xhr? and args.first[:layout].nil? super end
You need to login to post a comment.
Place in application controller
intresting
Google
Google
A thesis can be the most confounded and longest bit of composing for an understudy. It is in actuality an awkward errand.Top Assignment Writers
I did enjoyed reading this content; I am bookmarking your blog and definitely will come back again.[url=https://www.prosouthclean.com]Deck & Fence Staining[/url]
I just want to thank you to share your information on your blog; this is a simple and useful expertise comptable Cayenne.