diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-12-19 13:54:30 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-12-19 14:00:09 -0200 |
commit | 7b875953b83e6c53ecd5f818e6b044047656f51b (patch) | |
tree | 4529c54a872b75e91ded8f5d43e39e41834193db /railties | |
parent | f249d07c44d2f18e508ac83153c9f9cb8bce340b (diff) | |
download | rails-7b875953b83e6c53ecd5f818e6b044047656f51b.tar.gz rails-7b875953b83e6c53ecd5f818e6b044047656f51b.tar.bz2 rails-7b875953b83e6c53ecd5f818e6b044047656f51b.zip |
Use Concern in Rails::Railtie::Configurable
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/railtie/configurable.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/railtie/configurable.rb b/railties/lib/rails/railtie/configurable.rb index b6d4ed2312..532ebf65f5 100644 --- a/railties/lib/rails/railtie/configurable.rb +++ b/railties/lib/rails/railtie/configurable.rb @@ -1,9 +1,9 @@ +require 'active_support/concern' + module Rails class Railtie module Configurable - def self.included(base) - base.extend ClassMethods - end + extend ActiveSupport::Concern module ClassMethods delegate :config, :to => :instance |