mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Removing deprecated config.generators in Rails::Railtie
This commit is contained in:
@@ -26,11 +26,6 @@ module Rails
|
||||
@@app_generators
|
||||
end
|
||||
|
||||
def generators(&block) #:nodoc
|
||||
ActiveSupport::Deprecation.warn "config.generators in Rails::Railtie is deprecated. Please use config.app_generators instead."
|
||||
app_generators(&block)
|
||||
end
|
||||
|
||||
# First configurable block to run. Called before any initializers are run.
|
||||
def before_configuration(&block)
|
||||
ActiveSupport.on_load(:before_configuration, :yield => true, &block)
|
||||
|
||||
Reference in New Issue
Block a user