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 module Rails
class Railtie class Railtie
module Configurable module Configurable
def self.included(base) extend ActiveSupport::Concern
base.extend ClassMethods
end
module ClassMethods module ClassMethods
delegate :config, :to => :instance delegate :config, :to => :instance