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:
parent
f249d07c44
commit
7b875953b8
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue