Skip to content

Commit b71c6fa

Browse files
committed
Cover initialization
1 parent 040de01 commit b71c6fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/bootstrap_form/engine.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ class Engine < Rails::Engine
1010
config.bootstrap_form = BootstrapForm.config
1111
config.bootstrap_form.default_form_attributes ||= {}
1212

13+
initializer "bootstrap_form.configure" do |app|
14+
BootstrapForm.config = app.config.bootstrap_form
15+
end
16+
1317
initializer "bootstrap_form.deprecator" do |app|
1418
app.deprecators[:bootstrap_form] = BootstrapForm.deprecator
1519
end

0 commit comments

Comments
 (0)