Module: Devise::Generators::ViewPathTemplates
- Extended by:
- ActiveSupport::Concern
- Included in:
- ErbGenerator, FormForGenerator, MarkerbGenerator, SharedViewsGenerator, SimpleFormForGenerator
- Defined in:
- lib/generators/devise/views_generator.rb
Overview
Include this module in your generator to generate Devise views. ‘copy_views` is the main method and by default copies all views with forms.
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/generators/devise/views_generator.rb', line 23 def copy_views view_directory :confirmations view_directory :passwords view_directory :registrations view_directory :sessions view_directory :unlocks end |