It is possible to setup routes to default to a certain action based on
incoming data. When you use a scaffold generator, for example, things
like POST for site.com/controller automatically go to the Edit
actions. Look into how to edit your routes.rb file for how to set this
up.
On Jan 29, 12:54 pm, "Vapor .."
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> I have seen some sites that use something like app.com/controller-name
> in forms and tell no method...how can i do this?
> --
> Posted viahttp://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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
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
-~----------~----~----~----~------~----~------~--~---