Skip to content

Commit 55119e1

Browse files
committed
Fixes side effects with application_controller_patch
Requiring ApplicationController: `require 'application_controller` may lead to side effects under certain circumstances (see xmera Circle issue 1444). Since the code runs even without the requirement above in redmine_message_customize/lib/message_customize/application_controller_patch.rb the line is deleted.
1 parent c407f80 commit 55119e1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/message_customize/application_controller_patch.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
require 'application_controller'
4-
53
module MessageCustomize
64
module ApplicationControllerPatch
75
def self.included(base)

0 commit comments

Comments
 (0)