tabletop-companion/app/helpers/sessions_helper.rb

8 lines
111 B
Ruby

# frozen_string_literal: true
module SessionsHelper
def logged_in?
session[:user_id].present?
end
end