Class: Apipie::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



6
7
8
9
# File 'lib/generators/apipie/views_generator.rb', line 6

def copy_views
  directory 'apipie', 'app/views/apipie'
  directory 'layouts/apipie', 'app/views/layouts/apipie'
end