Class: Devise::Generators::SimpleFormForGenerator

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


86
87
88
89
90
91
# File 'lib/generators/devise/views_generator.rb', line 86

def copy_views
  if options[:views]
    options[:views].delete('mailer')
  end
  super
end