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
on 2008-12-09 03:13
on 2008-12-09 03:48
On 2008-12-08, at 21:12, Nick wrote: > Cheers, > Nick BTW, that second option should actually be this: map.connect '/maps', :controller => 'maps', :action => 'index' Thanks! Nick
on 2008-12-09 06:42
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..