Permalink
Browse files

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

Fix wrong method name
  • Loading branch information...
2 parents 9fb17c9 + 53edda2 commit 5529ff8d91ac4bff67aaad4762ba3c8156c3a6ec @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 5529ff8

Please sign in to comment.