From cebb8ff04b3eb32dd6dd642566e65d1c3869c2ae Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 9 Dec 2005 23:41:46 +0000 Subject: Name vendor/generators source differently from lib/generators source. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/rails_generator/lookup.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib/rails_generator/lookup.rb') diff --git a/railties/lib/rails_generator/lookup.rb b/railties/lib/rails_generator/lookup.rb index 5e110e80bd..6ec6886485 100644 --- a/railties/lib/rails_generator/lookup.rb +++ b/railties/lib/rails_generator/lookup.rb @@ -99,8 +99,8 @@ module Rails def use_component_sources! reset_sources if defined? ::RAILS_ROOT - sources << PathSource.new(:app, "#{::RAILS_ROOT}/lib/generators") - sources << PathSource.new(:app, "#{::RAILS_ROOT}/vendor/generators") + sources << PathSource.new(:lib, "#{::RAILS_ROOT}/lib/generators") + sources << PathSource.new(:vendor, "#{::RAILS_ROOT}/vendor/generators") sources << PathSource.new(:plugins, "#{::RAILS_ROOT}/vendor/plugins/**/generators") end sources << PathSource.new(:user, "#{Dir.user_home}/.rails/generators") -- cgit v1.2.3