Class: LeadsToHighrise::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- LeadsToHighrise::Generators::ViewsGenerator
- Defined in:
- lib/generators/leads_to_highrise/views_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
8 9 10 11 12 13 14 |
# 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 |