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
|
||||
class Railtie
|
||||
module Configurable
|
||||
def self.included(base)
|
||||
base.extend ClassMethods
|
||||
end
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
module ClassMethods
|
||||
delegate :config, :to => :instance
|
||||
|
|
Loading…
Reference in a new issue