Class: Devise::Generators::MarkerbGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Devise::Generators::MarkerbGenerator
- Includes:
- ViewPathTemplates
- Defined in:
- lib/generators/devise/views_generator.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
73 74 75 |
# File 'lib/generators/devise/views_generator.rb', line 73 def copy_views view_directory :markerb, target_path end |
#target_path ⇒ Object
77 78 79 |
# File 'lib/generators/devise/views_generator.rb', line 77 def target_path "app/views/#{scope || :devise}/mailer" end |