Class: Infold::ViewsGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/infold/views_generator.rb

Instance Method Summary collapse

Instance Method Details

#performObject



7
8
9
10
11
# File 'lib/generators/infold/views_generator.rb', line 7

def perform
  invoke 'infold:views:index', [ name ]
  invoke 'infold:views:show',  [ name ]
  invoke 'infold:views:form',  [ name ]
end