class LeadsToHighrise::Generators::ViewsGenerator
Public Instance Methods
copy_views()
click to toggle source
# File lib/generators/leads_to_highrise/views_generator.rb, line 8 def copy_views copy_file "views/_form.html.erb", "app/views/leads/_form.html.erb" copy_file "views/edit.html.erb", "app/views/leads/edit.html.erb" copy_file "views/index.html.erb", "app/views/leads/index.html.erb" copy_file "views/new.html.erb", "app/views/leads/new.html.erb" copy_file "views/show.html.erb", "app/views/leads/show.html.erb" end