Sha256: c6d28bfd39fbf22c790692f77055a85038ef132a44b9296932af0dfacb499897

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

Genkan.configure do |config|
  config.user_class_name   = '<%= model_class_name %>'
  config.auto_acceptance   = true
  config.cookie_expiration = 1.week
end

Genkan::Engine.configure do |config|
  # config.middleware.use OmniAuth::Builder do
  #   # Add omniauth-google-oauth2 to Gemfile:
  #   #   gem 'omniauth-google-oauth2'
  #   provider(
  #     :google_oauth2,
  #     ENV['GOOGLE_OAUTH_CLIENT_ID'],
  #     ENV['GOOGLE_OAUTH_CLIENT_SECRET'],
  #     {
  #       name:       'google',
  #       scope:      'email',
  #       hd:         'host-domain.com',
  #       verify_iss: false
  #     }
  #   )
  # end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
genkan-0.2.3 lib/generators/genkan/templates/initializer.erb
genkan-0.2.2 lib/generators/genkan/templates/initializer.erb