Sha256: 2899eb0a4be1b534fcce7939cf86a218b427b5d1c576ae6b84c404730b93b282
Contents?: true
Size: 432 Bytes
Versions: 23
Compression:
Stored size: 432 Bytes
Contents
class SessionsController < ApplicationController def create auth = request.env["omniauth.auth"] account = ::Account.from_omniauth(auth) 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
23 entries across 23 versions & 1 rubygems