提交 53edda22 编写于 作者: M Martin Schürrer

valid_app_const? -> valid_const?

上级 6e346016
...@@ -47,7 +47,7 @@ namespace :rails do ...@@ -47,7 +47,7 @@ namespace :rails do
gen = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true }, gen = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true },
destination_root: Rails.root destination_root: Rails.root
File.exists?(Rails.root.join("config", "application.rb")) ? 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 gen
end end
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册