diff options
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 |