diff options
author | Carl Lerche <carllerche@mac.com> | 2009-09-29 16:07:29 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-09-29 16:07:29 -0700 |
commit | 6b086449bebc4ecbd11887c74f0c16c0c38089dc (patch) | |
tree | a586d299fc4f08ba301da36622272b8a6f13633a /railties/lib/rails/application.rb | |
parent | 6f6a589d4b564f5db78735ad0c7225c22ced57ac (diff) | |
download | rails-6b086449bebc4ecbd11887c74f0c16c0c38089dc.tar.gz rails-6b086449bebc4ecbd11887c74f0c16c0c38089dc.tar.bz2 rails-6b086449bebc4ecbd11887c74f0c16c0c38089dc.zip |
Fix the broken railties isolation tests
Diffstat (limited to 'railties/lib/rails/application.rb')
-rw-r--r-- | railties/lib/rails/application.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/application.rb b/railties/lib/rails/application.rb index cadfc5010b..c70365e2f8 100644 --- a/railties/lib/rails/application.rb +++ b/railties/lib/rails/application.rb @@ -1,14 +1,14 @@ module Rails class Application - attr_accessor :routes, :config + attr_accessor :config def self.load(environment_file) environment = File.read(environment_file) Object.class_eval(environment, environment_file) end - def initialize - @routes = ActionController::Routing::Routes + def routes + ActionController::Routing::Routes end def middleware |