Class: Blogit::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Blogit::Generators::ViewsGenerator
- Includes:
- Thor::Actions
- Defined in:
- lib/generators/blogit/views_generator.rb
Instance Method Summary collapse
-
#copy_views ⇒ Object
Copy all of the views from the blogit/app/views/blogit to app/views/blogit.
Instance Method Details
#copy_views ⇒ Object
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 |