tabletop-companion/app/helpers/sessions_helper.rb

6 lines
80 B
Ruby

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