aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-12-09 23:41:46 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-12-09 23:41:46 +0000
commitcebb8ff04b3eb32dd6dd642566e65d1c3869c2ae (patch)
tree3e4663856db17051c74189fe1fcc7da5b26b0b1c /railties
parent39b71bb8a18baf56a4c9b1ac55fb486a61246672 (diff)
downloadrails-cebb8ff04b3eb32dd6dd642566e65d1c3869c2ae.tar.gz
rails-cebb8ff04b3eb32dd6dd642566e65d1c3869c2ae.tar.bz2
rails-cebb8ff04b3eb32dd6dd642566e65d1c3869c2ae.zip
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
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails_generator/lookup.rb4
1 files changed, 2 insertions, 2 deletions
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")