I’ve read posts on approaches to handling static files, but my question
is a little different.
I am mixing and matching dynamic and static pages for an “employee”
section of a website.
So I have
apps/controller/employee_controller.rb and associated view stuff.
But I also have
But of course if I trying this:
Action Controller: Exception caught
No action responded to main.html
How would I use routes.rb to by-pass EmployeeController when the request
ends in .html, so that Rails justs looks in public/employee/ for such
Or do I really need different names so the controller and
public/employee/ don’t clash?