Based on @sam’s work on the minimal topic list design I would like to show a custom menu item in the header but only to logged in users. Is this possible? Is there a way to determine if a user is logged in with handlebars?
application_controller.rb has ensure_logged_in:
def ensure_logged_in raise Discourse::NotLoggedIn.new unless current_user.present? end
but I don’t know how to access it, or if this is accessible via handlebars at all.