diff options
Diffstat (limited to 'railties/lib/generators/rails/helper')
-rw-r--r-- | railties/lib/generators/rails/helper/helper_generator.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/generators/rails/helper/helper_generator.rb b/railties/lib/generators/rails/helper/helper_generator.rb index 6f741b0978..2b84581025 100644 --- a/railties/lib/generators/rails/helper/helper_generator.rb +++ b/railties/lib/generators/rails/helper/helper_generator.rb @@ -1,9 +1,7 @@ module Rails module Generators class HelperGenerator < NamedBase - def check_class_collisions - class_collisions "#{class_name}Helper" - end + check_class_collision :suffix => "Helper" def create_helper_files template 'helper.rb', File.join('app/helpers', class_path, "#{file_name}_helper.rb") |