public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Ensure script/generate finds generators from symlinked plugins. [#449 
state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
dguettler (author)
Mon Jun 23 08:06:13 -0700 2008
lifo (committer)
Sat Jul 12 09:51:48 -0700 2008
commit  f90eb81c65d5841b591caf0f5e39ef774d02d06e
tree    d0f63c6709b7c61d3b4b6a50bdf35a577504307a
parent  e53f5fe696d692f1985981c34bb311e898fe3c72
...
108
109
110
111
 
112
113
114
...
108
109
110
 
111
112
113
114
0
@@ -108,7 +108,7 @@ module Rails
0
             sources << PathSource.new(:vendor, "#{::RAILS_ROOT}/vendor/generators")
0
             Rails.configuration.plugin_paths.each do |path|
0
               relative_path = Pathname.new(File.expand_path(path)).relative_path_from(Pathname.new(::RAILS_ROOT))
0
-              sources << PathSource.new(:"plugins (#{relative_path})", "#{path}/**/{,rails_}generators")
0
+              sources << PathSource.new(:"plugins (#{relative_path})", "#{path}/*/**/{,rails_}generators")
0
             end
0
           end
0
           sources << PathSource.new(:user, "#{Dir.user_home}/.rails/generators")

Comments