Class: Devise::Generators::SharedViewsGenerator

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

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ViewPathTemplates

#plural_scope, #target_path, #view_directory

Instance Method Details

#copy_viewsObject

Override copy_views to just copy mailer and shared.



73
74
75
# File 'lib/generators/devise/views_generator.rb', line 73

def copy_views
  view_directory :shared
end