]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/new_framework_defaults_7_0.rb
Use a button element for button_to
[rails.git] / config / initializers / new_framework_defaults_7_0.rb
index 3a44fcd0042be0ebfb4adbbc5ef6ba0a4c8b7866..2c1e76822cfc4e7f197e80832acb3dae973cedd8 100644 (file)
@@ -11,7 +11,7 @@
 
 # `button_to` view helper will render `<button>` element, regardless of whether
 # or not the content is passed as the first argument or as a block.
-Rails.application.config.action_view.button_to_generates_button_tag = true
+Rails.application.config.action_view.button_to_generates_button_tag = true
 
 # `stylesheet_link_tag` view helper will not render the media attribute by default.
 Rails.application.config.action_view.apply_stylesheet_media_default = false