Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

/public/index.html should have priority over /templates/index.html.erb #10

Open
clyfe opened this Issue Nov 20, 2010 · 1 comment

Comments

Projects
None yet
2 participants

clyfe commented Nov 20, 2010

/public/index.html should have priority over /templates/index.html.erb

I have a /public/index.html and no /templates/index.html.erb
when I call http://localhost:9292 I should see the /public/index.html but I get 404 instead

Owner

sstephenson commented Nov 20, 2010

public/index.html does have priority over templates/index.html.erb, but only when you request it as /index.html. In other words, Brochure::Static doesn't know about the index convention. I'm not sure how to solve this yet.

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