form_for example for namespaced routes. Closes #9769 [sjgman9]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Michael Koziarski
2007-10-08 05:50:59 +00:00
parent 9319361328
commit c2602354d1

View File

@@ -136,6 +136,12 @@ module ActionView
# ...
# <% end %>
#
# And for namespaced routes, like admin_post_url:
#
# <% form_for([:admin, @post]) do |f| %>
# ...
# <% end %>
#
# === Customized form builders
#
# You can also build forms using a customized FormBuilder class. Subclass FormBuilder and override or define some more helpers,