Class: Devise::Generators::MarkerbGenerator

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



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

def copy_views
  view_directory :markerb, target_path
end

#target_pathObject



77
78
79
# File 'lib/generators/devise/views_generator.rb', line 77

def target_path
  "app/views/#{scope || :devise}/mailer"
end