Permalink
Browse files

only define the encoding reader since we define the writer later on

  • Loading branch information...
1 parent 3096629 commit 4af431285bfd1d7a1eeebb2d55b3613cc37a7c52 @tenderlove tenderlove committed Aug 24, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/lib/rails/application/configuration.rb
View
3 railties/lib/rails/application/configuration.rb
@@ -7,12 +7,13 @@ class Application
class Configuration < ::Rails::Engine::Configuration
attr_accessor :allow_concurrency, :asset_host, :asset_path, :assets,
:cache_classes, :cache_store, :consider_all_requests_local,
- :dependency_loading, :encoding, :filter_parameters,
+ :dependency_loading, :filter_parameters,
:force_ssl, :helpers_paths, :logger, :preload_frameworks,
:reload_plugins, :secret_token, :serve_static_assets,
:static_cache_control, :session_options, :time_zone, :whiny_nils
attr_writer :log_level
+ attr_reader :encoding
def initialize(*)
super

0 comments on commit 4af4312

Please sign in to comment.