1 class SessionsController < ApplicationController
2 skip_around_filter :thread_with_api_token, :only => [:destroy, :index]
3 skip_before_filter :find_object_by_uuid, :only => [:destroy, :index]
6 redirect_to $orvos_api_client.orvos_logout_url(return_to: logged_out_url)
9 redirect_to root_url if session[:orvos_api_token]