Class: Voltron::Flash::Generators::Install::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Voltron::Flash::Generators::Install::ViewsGenerator
- Defined in:
- lib/generators/voltron/flash/install/views_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
11 12 13 |
# File 'lib/generators/voltron/flash/install/views_generator.rb', line 11 def copy_views copy_file 'app/views/voltron/flash/flashes.html.erb', Rails.root.join('app', 'views', 'voltron', 'flash', 'flashes.html.erb') end |