Skip to content

Commit

Permalink
enable rails 7 button_to config update
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeFraties committed Jan 2, 2025
1 parent 969f26d commit 39ef8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_7_0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39ef8fd

Please sign in to comment.