retrospring/app/components/application_component.rb
2023-10-22 21:04:30 +02:00

10 lines
205 B
Ruby

# 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