basically I want to convert the site.com/Controller/Action
with site.com/how_about_Controller_and_this_action.html
Any idea?
Thanks
basically I want to convert the site.com/Controller/Action
with site.com/how_about_Controller_and_this_action.html
Any idea?
Thanks
rosoft2001 wrote:
basically I want to convert the site.com/Controller/Action
with site.com/how_about_Controller_and_this_action.html
Any idea?
Thanks
If you are running on edge rails you can do:
map.connect ‘how_about.:controller.html’
map.connect ‘how_about.:controller.and_this.:action.html’
map.connect ‘how_about.:controller.and_this.:action.:id.html’
Is there any way to do this without running edge rails?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs