class Mizugumo::HamlGenerator
Public Instance Methods
copy_html_view_files()
click to toggle source
# File lib/generators/rails/mizugumo/haml_generator.rb, line 11 def copy_html_view_files HTML_VIEWS.each do |view| filename = "#{view}.html.haml" template filename, File.join("app/views", controller_file_path, filename) end filename = "_#{singular_table_name}.html.haml" template "_row.html.haml", File.join("app/views", controller_file_path, filename) end