Permalink
Browse files

Merge pull request #10950 from appscape-forks/fix-wrong-method-name

Fix wrong method name
  • Loading branch information...
1 parent 1e46645 commit 9681f5ce3546bd098d27e5bbf4bbba5e32a6c27b @carlosantoniodasilva carlosantoniodasilva 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 9681f5c

Please sign in to comment.