Class: Nivo::Generators::ViewsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/rails/generators/nivo/views_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



13
14
15
# File 'lib/rails/generators/nivo/views_generator.rb', line 13

def copy_views
  directory "nivo", "app/views/#{scope || :nivo}"
end