1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use Concern in Rails::Railtie::Configurable

This commit is contained in:
Santiago Pastorino 2010-12-19 13:54:30 -02:00
parent f249d07c44
commit 7b875953b8

View file

@ -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