From e398045774aa33ef130e3b28c86a4e413f641383 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Wed, 1 Feb 2006 03:54:37 +0000 Subject: Fix Syntax problems which were preventing webrick from starting git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/caching.rb | 2 +- actionpack/lib/action_controller/session/active_record_store.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib') 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. -- cgit v1.2.3