Notes posted by dramsay
RSS feed
dramsay -
June 29, 2008
9 thanks
Use the :as option for SEO friendly URLs
The :as option to map.resources can be used to generate SEO friendly URLs like so:
Code Example
map.resources :operating_systems, :as => 'operating-systems' # operating_systems_path => /operating-systems