lib/generators/voltron/flash/install/views_generator.rb in voltron-flash-0.1.6 vs lib/generators/voltron/flash/install/views_generator.rb in voltron-flash-0.1.7
- old
+ new
@@ -2,10 +2,10 @@
module Flash
module Generators
module Install
class ViewsGenerator < Rails::Generators::Base
- source_root File.expand_path('../../../../../../../', __FILE__)
+ source_root File.expand_path('../../../../../../', __FILE__)
desc 'Install Voltron Flash views'
def copy_views
copy_file 'app/views/voltron/flash/flashes.html.erb', Rails.root.join('app', 'views', 'voltron', 'flash', 'flashes.html.erb')
\ No newline at end of file