diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-11-23 16:35:13 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-11-23 16:35:47 -0600 |
commit | 31ce92f7b5784bc5b6a441e88cd734c7b8b1c58f (patch) | |
tree | ec452cb5dd933f0fc89f9b230a35f70528145950 /actionpack/lib/action_controller/routing/route_set.rb | |
parent | 6de1060eb555b5053f7d95269ceb23fce04e0523 (diff) | |
download | rails-31ce92f7b5784bc5b6a441e88cd734c7b8b1c58f.tar.gz rails-31ce92f7b5784bc5b6a441e88cd734c7b8b1c58f.tar.bz2 rails-31ce92f7b5784bc5b6a441e88cd734c7b8b1c58f.zip |
Use autoload instead of explicit requires for ActionController
Diffstat (limited to 'actionpack/lib/action_controller/routing/route_set.rb')
-rw-r--r-- | actionpack/lib/action_controller/routing/route_set.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/routing/route_set.rb b/actionpack/lib/action_controller/routing/route_set.rb index 1b8b52ad10..3bb25dbba9 100644 --- a/actionpack/lib/action_controller/routing/route_set.rb +++ b/actionpack/lib/action_controller/routing/route_set.rb @@ -7,6 +7,8 @@ module ActionController # Mapper instances have relatively few instance methods, in order to avoid # clashes with named routes. class Mapper #:doc: + include ActionController::Resources + def initialize(set) #:nodoc: @set = set end |