class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  def current_candidate
    @current_candidate ||= Candidate.find_by(test_hash: session[:test_id])
  end
end
