Class: DeviseTwoFactor::Generators::DeviseTwoFactorGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/devise_two_factor/devise_two_factor_generator.rb

Instance Method Summary collapse

Instance Method Details

#install_devise_two_factorObject



9
10
11
12
13
# File 'lib/generators/devise_two_factor/devise_two_factor_generator.rb', line 9

def install_devise_two_factor
  create_devise_two_factor_migration
  inject_strategies_into_warden_config
  inject_devise_directives_into_model
end