Hello, I define a new .xhr format for ajax requests: Merb.add_mime_type (:xhr, :to_html, %w[text/html]) The only reason I do this is because I want to have different layouts for .html and .xhr formats, but the page contents are the same. Is there any way to connect my *.html.haml and *.xhr.haml files instead of just cloning them? It would be perfect if it used .xhr.haml file if exists otherwise it would use html.haml file. Is it possible?
Stan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
