Fix profiles failing to load when the user disallows anonymous questions

This commit is contained in:
Karina Kwiatek 2022-06-26 08:56:25 +02:00 committed by Karina Kwiatek
parent 2e9b3e882d
commit 449aa1d998
1 changed files with 1 additions and 1 deletions

View File

@ -49,4 +49,4 @@
.col-xs-12.col-sm-10.offset-sm-1.text-center .col-xs-12.col-sm-10.offset-sm-1.text-center
%small= t(".promote.join", app_title: APP_CONFIG["site_name"]) %small= t(".promote.join", app_title: APP_CONFIG["site_name"])
- else - else
%p= raw t(".required"), signup: link_to(t("views.sessions.new"), new_user_registration_path) %p= raw t(".required", signup: link_to(t("views.sessions.new"), new_user_registration_path))