Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from marcelbonnet/master
Browse files Browse the repository at this point in the history
  • Loading branch information
tofi86 authored Apr 18, 2021
2 parents 3b84885 + dace9c3 commit 24d482a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
name 'Redmine Maintenance Mode'
author 'Tobias Fischer'
description 'This is a plugin to schedule and announce maintenance downtimes as well as disable user access to redmine during maintenance times.'
version '2.2.0'
version '2.2.1'
url 'https://github.com/tofi86/redmine_maintenance_mode'
author_url 'https://github.com/tofi86'

Expand Down Expand Up @@ -40,7 +40,7 @@
if Rails::VERSION::MAJOR >= 5
ActiveSupport::Reloader.to_prepare do
require_dependency 'application_controller'
AttachmentsController.send(:include, MaintenanceMode)
ApplicationController.send(:include, MaintenanceMode)
end
elsif Rails::VERSION::MAJOR >= 3
ActionDispatch::Callbacks.to_prepare do
Expand Down

0 comments on commit 24d482a

Please sign in to comment.