[Rails] Re: Passing paramter but without GET
Thanks, I read it. Makes sense :)
Still having some trouble, routes.db:
map.connect ':controller/:id/:action/:action_id'
In the html file:
link_to atp.name, {:controller => 'activities', :id => @activity,
:action => 'select_characters', :action_id => atp.id }
nor
select_characters_activity_path(@activity, {:action_id => atp.id})
works. It still creates:
http://localhost:3000/activities/980190963/select_characters?action_id=291929305
URLs.
Anyone knows why? Seems fine too me.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home