Retrospring/app/components/application_component.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
205 B
Ruby
Raw Normal View History

2023-10-20 15:24:44 -07:00
# frozen_string_literal: true
class ApplicationComponent < ViewComponent::Base
include ApplicationHelper
def current_user = helpers.current_user
def user_signed_in? = helpers.user_signed_in?
end