mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
valid_app_const? -> valid_const?
This commit is contained in:
parent
6e34601653
commit
53edda2235
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ namespace :rails do
|
|||
gen = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true },
|
||||
destination_root: Rails.root
|
||||
File.exists?(Rails.root.join("config", "application.rb")) ?
|
||||
gen.send(:app_const) : gen.send(:valid_app_const?)
|
||||
gen.send(:app_const) : gen.send(:valid_const?)
|
||||
gen
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue