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