diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2014-12-01 18:23:00 +0200 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2014-12-01 18:23:00 +0200 |
commit | a04c0619617118433db6e01b67d5d082eaaa0189 (patch) | |
tree | 2d20ec324921d7b6983bd7e015714065a7a9bb29 /actionview/lib/action_view | |
parent | 2cdd229fc2a3848cf7d77ccb718544594e0373eb (diff) | |
download | rails-a04c0619617118433db6e01b67d5d082eaaa0189.tar.gz rails-a04c0619617118433db6e01b67d5d082eaaa0189.tar.bz2 rails-a04c0619617118433db6e01b67d5d082eaaa0189.zip |
Bugfix config.action_view.default_form_builder option
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index 6d10b41bd5..c4371dc705 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -1935,6 +1935,8 @@ module ActionView end ActiveSupport.on_load(:action_view) do - cattr_accessor(:default_form_builder) { ::ActionView::Helpers::FormBuilder } + cattr_accessor(:default_form_builder, instance_writer: false, instance_reader: false) do + ::ActionView::Helpers::FormBuilder + end end end |