From: Rob Biedenharn Date: 2009-12-03T01:33:49+09:00 Subject: Re: duda sobre nuevo metodo On Dec 2, 2009, at 11:17 AM, David J,nas wrote: > Rob Biedenharn wrote: >> On Dec 2, 2009, at 10:18 AM, David J,nas wrote: >> >>> end >>> end >>> # >>> -- >> >> >> necesita el metodo >> ver_esperando_citas_path >> >> y los map.resources para :citas /should be/ unica >> >> map.resources :citas, :member => { :cambiar_estado >> => :put, :cambiar_estado_novisitado => :put }, :collection => >> { :ver_esperando => :get } >> >> espero que ayudate >> >> -Rob >> >> Rob Biedenharn http://agileconsultingllc.com >> Rob@AgileConsultingLLC.com > > le he puesto en el routes.rb > > map.resources :citas, :member => { :cambiar_estado=> :put, > :cambiar_estado_novisitado => :put }, > :collection =>{ :ver_esperando => :get } > > i le he cambiado el link por ver_esperando_citas_path i sigue diciendo > lo mismo > -- se reinicia la aplicación después de los cambios a routes.rb? -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com