lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-0.40.0 vs lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-0.41.0.rc1

- old
+ new

@@ -37,12 +37,17 @@ 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_resource_files + def copy_image_files copy_file 'app/models/image.rb' + copy_file 'app/views/image/embed.html.erb' + end + + def copy_download_files copy_file 'app/models/download.rb' + copy_file 'app/views/download/embed.html.erb' end def copy_headline_widget_files copy_file 'app/models/headline_widget.rb' copy_file 'app/views/headline_widget/show.html.erb'