Layout suppression bug in public root #247

cfjedimaster opened this Issue Feb 14, 2014 · 0 comments

1 participant


I have a folder under root called events where I've defined the following:

    "title":"Event A",
    "title":"Event B",
    "date":"2/13/2014 2:00 PM"

Given /events/events.json.ejs I can confirm this works to suppress the layout for events.json. However, it bothered me that my event data had something in there that wasn't an event. (The "events" key itself.) So I moved events.json.ejs to public, I added a _data.json to public, but layout suppression didn't work.

To make things even more odd, in my public _data.json I confirmed I could turn off layout for index. It just refused to turn off for events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment