Can I strip a file suffix off a URL with routing?

I would like a route that strips of the suffix of a url before
determining the action. Eg:

Would map to: { :controller => ‘my_controller’, :action => ‘my_action’

Is this possible?


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