Hi there, just starting to get my head around routes but have a
problem that I can’t google my way out of. I have a restful resource
that’s mapped as:
which gives me localhost/terms, however I want it to be localhost/
I tried using path_prefix but this just added the prefix before /
terms. I guess I really want a path_replace kind of thing…
Refactoring the code would be a real pain. Is there any way to do this
in the routes.rb file?