mirror of
https://github.com/github/rails.git
synced 2026-01-29 16:28:09 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user