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.


68
69
70
# File 'lib/generators/devise/views_generator.rb', line 68

def copy_views
  view_directory :shared
end