Class: Voltron::Flash::Generators::Install::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/voltron/flash/install/views_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



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