I was developing the Application in Flex and ruby on rails.
It is working fine some times. but some times i am getting routing error.
Error: “No route matches “/index.html” with {:method=>:get}”
Here index.html is my login page
Please help me on this.
Thanks,
Ravi
If you have a static file public/index.html then this should be served up any time a direct request is made for it. The routing engine is simply complaining because no route for that specific path is defined.
Things to check:
An easy way to add a route for this particular action is, simply:
I generally add a catch-all route at the bottom of the routing table to handle mystery URLs: