diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-16 11:17:19 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-16 11:17:19 +0200 |
commit | d6a590a7107eabd9c3ab067c60bef904da62f174 (patch) | |
tree | 31dbb4c37dfa32ec1e1eb49801681aad6e2909be /railties/lib/generators/rails/metal | |
parent | b03034a686df5ed91d790404b27e595165883834 (diff) | |
download | rails-d6a590a7107eabd9c3ab067c60bef904da62f174.tar.gz rails-d6a590a7107eabd9c3ab067c60bef904da62f174.tar.bz2 rails-d6a590a7107eabd9c3ab067c60bef904da62f174.zip |
Modified rake tasks to use new app generator structure and updated Thor version.
Diffstat (limited to 'railties/lib/generators/rails/metal')
-rw-r--r-- | railties/lib/generators/rails/metal/metal_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/metal/metal_generator.rb b/railties/lib/generators/rails/metal/metal_generator.rb index d814b6c38b..fe4f945cad 100644 --- a/railties/lib/generators/rails/metal/metal_generator.rb +++ b/railties/lib/generators/rails/metal/metal_generator.rb @@ -3,7 +3,7 @@ module Rails class MetalGenerator < NamedBase check_class_collision - def create_file + def create_metal_file template "metal.rb", "app/metal/#{file_name}.rb" end end |