search for: encuesta_pregunta_solucions_path

Displaying 1 result from an estimated 1 matches for "encuesta_pregunta_solucions_path".

2009 Mar 14
2
Pobrem with REST routes
...eger. Soluciones belongs_to :pregunta Routes: map.resources :encuestas do |encuesta| map.resources :preguntas do |pregunta| pregunta.resources :solucions end end I can create preguntas for encuestas. But in the index view of preguntas I have this code: <%= link_to pregunta.texto, encuesta_pregunta_solucions_path(@encuesta, @pregunta) %></td> If I choose one pregunta the url that shows firefox is like that: http://localhost:3000/encuestas/1/preguntas//solucions It doesn''t show preguntas_id in the url :( In another way if i write for example this url in firefox: http://localhost:3000/e...