Just discovered that the request object has a "request.ajax?" method so all is well.
Now we can do things like "display @photo, :layout=>!request.ajax?" More info at http://merbapi.com/classes/Merb/Request.html On Sep 18, 11:44 am, George Adamson <[email protected]> wrote: > Firebug reports that the request does indeed have a header of X- > Requested-With = XMLHttpRequest > but that header is not present in Merb's headers hash. > > (Using jQuery to fetch data from the server via XMLHTTP) > > Anyone know why this could be? > Cheers, > George --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
