Class: Authic::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/authic/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_initializersObject



5
6
7
8
9
# File 'lib/generators/authic/install_generator.rb', line 5

def copy_initializers
  template "authic.rb", "config/initializers/authic.rb"
  template "omniauth.rb", "config/initializers/omniauth.rb"
  template "sessions_controller.rb", "app/controllers/authic/sessions_controller.rb"
end