diff options
-rw-r--r-- | actionpack/lib/action_controller/caching.rb | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/session/active_record_store.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index 099df53cf6..6751e2b3e8 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -523,7 +523,7 @@ module ActionController #:nodoc: # ActiveRecord::Observer will mark this class as reloadable even though it should be def self.included_modules(include_super = true) - super - [ Reloadable ] + super() - [ Reloadable ] end def before(controller) diff --git a/actionpack/lib/action_controller/session/active_record_store.rb b/actionpack/lib/action_controller/session/active_record_store.rb index 111d77ed3b..2a9a269adb 100644 --- a/actionpack/lib/action_controller/session/active_record_store.rb +++ b/actionpack/lib/action_controller/session/active_record_store.rb @@ -67,7 +67,7 @@ class CGI class << self # Don't try to reload ARStore::Session in dev mode. def included_modules(include_super = true) - super - [ Reloadable ] + super() - [ Reloadable ] end # Don't try to reload ARStore::Session in dev mode. |