diff --git a/app/components/application_component.rb b/app/components/application_component.rb new file mode 100644 index 00000000..d9b18556 --- /dev/null +++ b/app/components/application_component.rb @@ -0,0 +1,10 @@ +# 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