diff options
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 3b4e05bc1d..f25f47af62 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -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, |