Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

r3421@asus: jeremy | 2005-12-09 15:42:40 -0800

 Apply [3265] to stable.  Name vendor/generators source differently from lib/generators source.


git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 596fe4969753473b445d5e7d2e14bb9bc50e5a38 1 parent 4e2e1a1
@jeremy jeremy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails_generator/lookup.rb
View
4 railties/lib/rails_generator/lookup.rb
@@ -99,8 +99,8 @@ def use_application_sources!
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")
Please sign in to comment.
Something went wrong with that request. Please try again.