Rewriting url path element as parameter


I’d like to rewrite the url:


or map it somehow to the appropriate rails controller.

I’d prefer to do this without recourse to mod_rewrite, etc in the web
server and manage to handle this in my application. I couldn’t see any
examples in my googling though I do recall that I have seen some
routes dynamically added within a rails application setup.

Any ideas or pointers to examples?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs