frankjmat...@gmail.com wrote: > where can i find the documentation for all of the > action_controller_path functions? > > multiple submits on a form are no longer a viable solution because the > only way to tell which one was hit was to know the name "value" of the > submit button.. when its in different languages it gets ugly.. im just > going to try to use a link_to solution but i cant figure out how _path > wants its arguments. > > link_to 'release', station_path(@station, :state => :release), :method > => :put > > generates a url that looks right but doesnt work.
You should probably read the Rails routing guide. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.