Skip to content

Commit

Permalink
Using after_initialize in place of to_prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrossello committed Aug 30, 2022
1 parent 2e6bc0a commit c6aa772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
Deface::DSL::Loader::load File.expand_path(path, __FILE__)
end

Rails.configuration.to_prepare do
Rails.configuration.after_initialize do
plugin.requires_redmine_plugin :redmine_base_deface, '1.6.2'
end

Expand Down

0 comments on commit c6aa772

Please sign in to comment.