Class: PiccoBlog::Generators::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/generators/picco_blog/views/views_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject

Copy all of the views from the picco_blog/app/views/picco_blog to app/views/picco_blog



13
14
15
# File 'lib/generators/picco_blog/views/views_generator.rb', line 13

def copy_views
  directory 'picco_blog', 'app/views/picco_blog'
end