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



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

def copy_views
  view_directory :markerb, target_path
end

#target_pathObject



100
101
102
# File 'lib/generators/devise/views_generator.rb', line 100

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