I want to be able to change the default mapping of actions with RESTful url and type of request.
For example,
After adding map.resources :fruits in the routes, by default, sending a GET request to /fruits/:id calls show action in fruits controller. However, I would like to call a custom action, say display, in the fruits controller instead of show action. How do I do it? This has to be a route configuration.