Skip to content

Commit 2174fa0

Browse files
committed
Splat the options to avoid warnings in Ruby 2.7 and error in Ruby 3
1 parent c612bb6 commit 2174fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bootstrap_form/action_view_extensions/form_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def bootstrap_form_with(options={}, &block)
2929
options.reverse_merge!(builder: BootstrapForm::FormBuilder)
3030

3131
with_bootstrap_form_field_error_proc do
32-
form_with(options, &block)
32+
form_with(**options, &block)
3333
end
3434
end
3535

0 commit comments

Comments
 (0)