Class: Hyrax::CollectionGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/hyrax/collection_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_collectionObject



12
13
14
# File 'lib/generators/hyrax/collection_generator.rb', line 12

def create_collection
  copy_file 'app/models/collection.rb', 'app/models/collection.rb'
end