On 2008-12-08, at 21:12, Nick wrote:
Quick question: Would it be better to use this?:
map.resources :maps, :only = [:index]
or this?:
map.connect '/maps',
:controller = :maps,
:action = :index
Cheers,
Nick
BTW, that second option should actually be this:
map.connect '/maps',
I would vote for number one... just looks cleaner and its easier to
add changes down the road like :only = [:index,:ajax_update] or
something like that...
just my 1 cent..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
2 matches
Mail list logo