lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-0.30.0 vs lib/generators/scrivito/install/install_generator.rb in scrivito_sdk-0.40.0.rc1
- old
+ new
@@ -20,9 +20,13 @@
def copy_cms_controller
copy_file 'app/controllers/cms_controller.rb'
end
+ def copy_dialog_layout
+ copy_file 'app/views/layouts/scrivito_dialog.html.erb'
+ end
+
def copy_migration
migration_template 'scrivito/migrate/install_scrivito_migration.rb',
File.join(Scrivito::Configuration.migration_path, 'install_scrivito_migration.rb')
end