diff options
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/configuration.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index 08f5dda8ee..eed9834203 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -22,17 +22,15 @@ module Rails end end - attr_reader :middleware, :generator_paths + attr_reader :middleware def initialize(base = nil) if base - @options = base.options.dup - @middleware = base.middleware.dup - @generator_paths = base.generator_paths.dup + @options = base.options.dup + @middleware = base.middleware.dup else - @options = Hash.new { |h,k| h[k] = ActiveSupport::OrderedOptions.new } - @middleware = self.class.default_middleware_stack - @generator_paths = [] + @options = Hash.new { |h,k| h[k] = ActiveSupport::OrderedOptions.new } + @middleware = self.class.default_middleware_stack end end |