Permalink
Browse files

valid_app_const? -> valid_const?

  • Loading branch information...
1 parent 6e34601 commit 53edda2235952f064f04e6ef9af7ae7c106454b0 @MSch MSch committed Jun 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/tasks/framework.rake
@@ -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

0 comments on commit 53edda2

Please sign in to comment.