Class: TkhAdminPanel::Generators::CopyFilesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TkhAdminPanel::Generators::CopyFilesGenerator
- Defined in:
- lib/generators/tkh_admin_panel/copy_files/copy_files_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_view_partial ⇒ Object
10 11 12 13 |
# File 'lib/generators/tkh_admin_panel/copy_files/copy_files_generator.rb', line 10 def copy_view_partial puts 'creating an admin_sidebar partial' copy_file "_admin_sidebar.html.erb", "app/views/shared/_admin_sidebar.html.erb" end |