diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-02 15:09:15 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-03-03 15:49:24 -0800 |
commit | 29158d4158e9ae800c5be31a796940888bd03cc5 (patch) | |
tree | ede8bd80ce3cc10488c00978bf9c9b0cad85bc44 /actionpack/lib/action_controller/metal/configuration.rb | |
parent | 7979da2fa894a89f2e90169e688c3887dfda5270 (diff) | |
download | rails-29158d4158e9ae800c5be31a796940888bd03cc5.tar.gz rails-29158d4158e9ae800c5be31a796940888bd03cc5.tar.bz2 rails-29158d4158e9ae800c5be31a796940888bd03cc5.zip |
Remove a failed attempt at refactoring AC configuration
Diffstat (limited to 'actionpack/lib/action_controller/metal/configuration.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/configuration.rb | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/actionpack/lib/action_controller/metal/configuration.rb b/actionpack/lib/action_controller/metal/configuration.rb deleted file mode 100644 index 5c829853b7..0000000000 --- a/actionpack/lib/action_controller/metal/configuration.rb +++ /dev/null @@ -1,28 +0,0 @@ -module ActionController - module Configuration - extend ActiveSupport::Concern - - def config - @config ||= self.class.config - end - - def config=(config) - @config = config - end - - module ClassMethods - def default_config - @default_config ||= {} - end - - def config - self.config ||= default_config - end - - def config=(config) - @config = ActiveSupport::OrderedHash.new - @config.merge!(config) - end - end - end -end
\ No newline at end of file |