brochure icon indicating copy to clipboard operation
brochure copied to clipboard

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

Open clyfe opened this issue 15 years ago • 1 comments

/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

clyfe avatar Nov 20 '10 13:11 clyfe

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.

sstephenson avatar Nov 20 '10 22:11 sstephenson