From 449aa1d998ded5f5f096fbd5f778c4f03d15f04e Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 26 Jun 2022 08:56:25 +0200 Subject: [PATCH] Fix profiles failing to load when the user disallows anonymous questions --- app/views/application/_questionbox.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/application/_questionbox.haml b/app/views/application/_questionbox.haml index 60738e54..50409801 100644 --- a/app/views/application/_questionbox.haml +++ b/app/views/application/_questionbox.haml @@ -49,4 +49,4 @@ .col-xs-12.col-sm-10.offset-sm-1.text-center %small= t(".promote.join", app_title: APP_CONFIG["site_name"]) - 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))