Class: PublicRescue::Generators::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



9
10
11
# File 'lib/generators/public_rescue/views_generator.rb', line 9

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