Forum: Ruby on Rails Form submitting to /foo/bar

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
49de4cd2f26705785cbef2b15a9df7aa?d=identicon&s=25 Nick Hoffman (nickh)
on 2008-12-09 19:12
(Received via mailing list)
Hi guys. I have a form which submits to the "show" action of a
controller. However, when the form is submitted, it directs the
browser to URLs in this format:
  /foo/show?id=bar

Is it possible to configure a form to direct the browser to URLs in
this format instead?:
  /foo/bar

Here's how I'm currently creating my form:

<% form_tag '/maps/show', :method => :get do %>

Thanks for any suggestions!
Nick
This topic is locked and can not be replied to.