Sha256: 44fd453ac57d42ac57c73cd4d8805fe575283f61b919459e0b14b959869960c2
Contents?: true
Size: 409 Bytes
Versions: 19
Compression:
Stored size: 409 Bytes
Contents
class AuthenticationsController < ActionController::Base include GDS::SSO::ControllerMethods before_filter :authenticate_user!, :only => :callback skip_before_filter :require_signin_permission! layout false def callback redirect_to session["return_to"] || '/' end def failure end def sign_out logout redirect_to GDS::SSO::Config.oauth_root_url + "/users/sign_out" end end
Version data entries
19 entries across 19 versions & 1 rubygems