Class: Devise::Generators::CustomizeGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Cream::GeneratorHelper
Defined in:
lib/generators/devise/customize/customize_generator.rb

Instance Method Summary collapse

Methods included from Cream::GeneratorHelper

#add_logger, #debug!, included, #info!, #logit!

Instance Method Details

#main_flowObject



24
25
26
27
28
29
# File 'lib/generators/devise/customize/customize_generator.rb', line 24

def main_flow
  logit!
	debug! 'customizing devise...'

  Devise::Customizers::UserName.new(orm, user_class, ).add_to_user_class if add_user_name?    
end