lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-0.40.0.rc1 vs lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-0.40.0.rc2
- old
+ new
@@ -29,34 +29,35 @@
def copy_migration
migration_template 'scrivito/migrate/install_scrivito_migration.rb',
File.join(Scrivito::Configuration.migration_path, 'install_scrivito_migration.rb')
end
- def copy_page_resources
+ def copy_page_files
copy_file 'app/models/page.rb'
copy_file 'app/controllers/page_controller.rb'
copy_file 'app/views/page/details.html.erb'
copy_file 'app/views/page/index.html.erb'
copy_file 'app/views/page/thumbnail.html.erb'
end
- def copy_image_resources
+ def copy_resource_files
copy_file 'app/models/image.rb'
+ copy_file 'app/models/download.rb'
end
- def copy_headline_widget_resources
+ def copy_headline_widget_files
copy_file 'app/models/headline_widget.rb'
copy_file 'app/views/headline_widget/show.html.erb'
copy_file 'app/views/headline_widget/thumbnail.html.erb'
end
- def copy_text_widget_resources
+ def copy_text_widget_files
copy_file 'app/models/text_widget.rb'
copy_file 'app/views/text_widget/show.html.erb'
copy_file 'app/views/text_widget/thumbnail.html.erb'
end
- def copy_image_widget_resources
+ def copy_image_widget_files
copy_file 'app/models/image_widget.rb'
copy_file 'app/views/image_widget/show.html.erb'
copy_file 'app/views/image_widget/thumbnail.html.erb'
end
end