Sha256: a2c6b4e9b3958eefbaa2d5c6278e953eddd54ba9d46df29880be69e60aa6dbdf
Contents?: true
Size: 468 Bytes
Versions: 8
Compression:
Stored size: 468 Bytes
Contents
class SessionsController < ApplicationController def create auth = request.env["omniauth.auth"] account = BookingSyncEngine.account_model.from_omniauth(auth, request.host) account_authorized(account) redirect_to after_bookingsync_sign_in_path end def destroy clear_authorization! redirect_to after_bookingsync_sign_out_path end def failure allow_bookingsync_iframe @error_message = params[:message].try(:humanize) end end
Version data entries
8 entries across 8 versions & 1 rubygems