diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb index 7cf2276..16d4203 100644 --- a/config/initializers/30-redmine.rb +++ b/config/initializers/30-redmine.rb @@ -15,7 +15,7 @@ if Object.const_defined?(:OpenIdAuthentication) openid_authentication_store = Redmine::Configuration['openid_authentication_store'] OpenIdAuthentication.store = openid_authentication_store.present? ? - openid_authentication_store : :memory + openid_authentication_store : :memory end Redmine::Plugin.load @@ -27,4 +27,6 @@ Rails.application.config.to_prepare do Redmine::FieldFormat::RecordList.subclasses.each do |klass| klass.instance.reset_target_class end -end \ No newline at end of file +end + +ActiveSupport.run_load_hooks(:redmine, Redmine)