diff options
author | José Valim <jose.valim@gmail.com> | 2009-11-20 12:16:01 -0200 |
---|---|---|
committer | Yehuda Katz <wycats@Yehuda-Katz.local> | 2009-11-23 09:08:48 -0800 |
commit | d0aa0cfbd76a919e536e76d65419930fb7fe31da (patch) | |
tree | 2de342c2ae28fa4c406a56a51a2ed8f80c5b7e7f /railties/lib | |
parent | d6f10126eb12e08ad670f803d237b942ebae5018 (diff) | |
download | rails-d0aa0cfbd76a919e536e76d65419930fb7fe31da.tar.gz rails-d0aa0cfbd76a919e536e76d65419930fb7fe31da.tar.bz2 rails-d0aa0cfbd76a919e536e76d65419930fb7fe31da.zip |
Ensure generator fallbacks work even when a context is given.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators.rb b/railties/lib/rails/generators.rb index 9f274b9edc..85c2fd52a4 100644 --- a/railties/lib/rails/generators.rb +++ b/railties/lib/rails/generators.rb @@ -198,7 +198,7 @@ module Rails return klass if klass end - invoke_fallbacks_for(name, base) + invoke_fallbacks_for(name, base) || invoke_fallbacks_for(context, name) end # Receives a namespace, arguments and the behavior to invoke the generator. |