Sha256: 8d39bdafd615457cb2422498064931ce6a00baf066911c49f487564979589e7b
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 Bytes
Contents
require 'google_authentication' require 'rails' require 'action_controller' require 'omniauth' require 'devise' module GoogleAuthentication # rails engine to add controllers, routes and configuration needed to the gem class Engine < Rails::Engine # Initialize devise configuration for omniauth initializer "google_authentication.domain", :before => "devise.omniauth" do require 'openid/store/filesystem' Devise.omniauth :google_apps, OpenID::Store::Filesystem.new('/tmp'), :domain => GoogleAuthentication.domain end end end
Version data entries
3 entries across 3 versions & 1 rubygems