Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112131415161718192021class SessionsController < ApplicationController def in head :ok end
def destroy auth_session.invalidate! redirect_back fallback_location: root_path, notice: 'Signed out. (>-.-)>' end
def failure redirect_to redirect_path, alert: "Error: #{params[:message]}" end
private
def redirect_path request.env['omniauth.origin'] || cookies.delete('return_to') || root_path endend