Closed rosshadden closed 9 years ago
what do you mean? more than sending a new layout to res.view or setting layout in the * method via res.layout?
At one point we wanted to be able to easily serve something different for AJAX requests than for straight up browser requests. It's possible as-is, using req.xhr
, but we talked about making it easier in CS so devs don't have to know that you can do it in express.
I think this is easy enough.
Make dynamic layouts (or lack thereof) easier, based on
req.xhr
.