Class: Devise::Generators::ErbGenerator

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

#target_path, #view_directory

Instance Method Details

#copy_viewsObject



94
95
96
97
98
# File 'lib/generators/devise/views_generator.rb', line 94

def copy_views
  if !options[:views] || options[:views].include?('mailer')
    view_directory :mailer
  end
end