class EditableContent::Generators::InstallGenerator

Public Instance Methods

create_migrations() click to toggle source
# File lib/generators/editable_content/install/install_generator.rb, line 11
def create_migrations
  migration_template 'create_editable_content_editables.rb', 'db/migrate/create_editable_content_editables.rb'
  migration_template 'create_mercury_images.rb', 'db/migrate/create_mercury_images.rb'
end
install_authentication() click to toggle source
# File lib/generators/editable_content/install/install_generator.rb, line 16
def install_authentication
  copy_file 'lib/mercury/authentication.rb'
end