Permalink
Browse files

Move the filesi for the action_controller to the root path

  • Loading branch information...
1 parent 313a1c3 commit 4991c9f57c45c36a0da9ece8bc7c607093d4edb9 Rafael Mendonça França committed Sep 25, 2012
@@ -0,0 +1,11 @@
+module ActionController #:nodoc:
+ module Caching
+
+ eager_autoload do
+ autoload :Sweeper, 'active_record-observers/action_controller/caching/sweeping'
+ autoload :Sweeping, 'active_record-observers/action_controller/caching/sweeping'
+ end
+
+ include Sweeping if defined?(ActiveRecord)
+ end
+end
@@ -1,11 +0,0 @@
-module ActionController #:nodoc:
- module Caching
-
- eager_autoload do
- autoload :Sweeper, 'active_record-observers/actionpack/action_controller/caching/sweeping'
- autoload :Sweeping, 'active_record-observers/actionpack/action_controller/caching/sweeping'
- end
-
- include Sweeping if defined?(ActiveRecord)
- end
-end
@@ -1,7 +1,7 @@
require 'minitest/autorun'
require 'action_controller'
require 'active_record-observers/activerecord/observer'
-require 'active_record-observers/actionpack/action_controller/caching'
+require 'active_record-observers/action_controller/caching'
SharedTestRoutes = ActionDispatch::Routing::RouteSet.new

0 comments on commit 4991c9f

Please sign in to comment.