aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin')
-rwxr-xr-xrailties/bin/gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/gen b/railties/bin/gen
index 6cc66ac455..ad3a793610 100755
--- a/railties/bin/gen
+++ b/railties/bin/gen
@@ -22,7 +22,7 @@ end
name = ARGV.shift
-if klass = Thor::Util.find_by_namespace("rails:generators:#{name}")
+if klass = Thor::Util.find_by_namespace("rails:#{name}")
klass.start
elsif klass = Thor::Util.find_by_namespace(name)
klass.start