Class: Saucy::Generators::ViewsGenerator

Inherits:
Base
  • Object
show all
Extended by:
ActiveRecord::Generators::Migration
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/saucy/views/views_generator.rb

Instance Method Summary collapse

Methods inherited from Base

source_root

Instance Method Details

#copy_viewsObject



16
17
18
19
# File 'lib/generators/saucy/views/views_generator.rb', line 16

def copy_views
  views_path = File.join(File.dirname(File.expand_path(__FILE__)), '../../../../app/views')
  directory views_path, 'app/views'
end