Class: Hancock::Catalog::Controllers::AllGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/hancock/catalog/controllers/all_generator.rb

Instance Method Summary collapse

Instance Method Details

#allObject



10
11
12
13
# File 'lib/generators/hancock/catalog/controllers/all_generator.rb', line 10

def all
  generate "hancock:catalog:controllers:item #{camelcased_class_name}"
  generate "hancock:catalog:controllers:category #{category_class_name}"
end