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
96 97 98 |
# File 'lib/generators/devise/views_generator.rb', line 96 def copy_views view_directory :markerb, target_path end |
#target_path ⇒ Object
100 101 102 |
# File 'lib/generators/devise/views_generator.rb', line 100 def target_path "app/views/#{scope || :devise}/mailer" end |