Class: DeviseOtp::Generators::ViewsGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_viewsObject



13
14
15
16
# File 'lib/generators/devise_otp/views_generator.rb', line 13

def copy_views
  view_directory :credentials, 'app/views/devise_otp/credentials'
  view_directory :tokens, 'app/views/devise_otp/tokens'
end