Class: Blogit::Generators::ViewsGenerator

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) copy_views

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


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

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