Fix 500 when not logged in

This commit is contained in:
Karina Kwiatek 2023-05-07 15:10:31 +02:00
parent f9e42436ea
commit 4c6ad5f789
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
%kbd
%kbd g
%kbd i
- if APP_CONFIG.dig(:features, :discover, :enabled) || current_user.mod?
- if APP_CONFIG.dig(:features, :discover, :enabled) || current_user&.mod?
%li.list-group-item
= t("navigation.discover")
%kbd