Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (5 sloc) 314 Bytes
# Monkey patch openid with the google apps discovery patches
require 'vendor/gapps_openid'
# Add bundled ca-bundle to openid gem so that it starts validating HTTPS endpoints
OpenID.fetcher.ca_file = File.dirname(__FILE__) + '/lib/vendor/ca-bundle.crt'
ActionController::Base.send :include, GoogleAppsProtection