Ruby on Rails Routes Issue -
i have controller called head_buses_controller.rb
, in routes have mapped map.resources :head_buses
this results in urls being http://domain.com/head_buses
i have urls dash -
instead of underscore _
.
is possible have urls dashes go head_buses controller?
cheers
eef
try use one:
resources :head_buses, :as => 'head-buses'
Comments
Post a Comment