diff --git a/app/views/shared/_signed_in.html.haml b/app/views/shared/_signed_in.html.haml
index 3126913ca0..0af52d6d94 100644
--- a/app/views/shared/_signed_in.html.haml
+++ b/app/views/shared/_signed_in.html.haml
@@ -1,6 +1,6 @@
- if discourse_configured?
%li
- %a{href: discourse_login_path, target: '_blank'}
+ %a{href: main_app.discourse_login_path, target: '_blank'}
%span.nav-primary
= t 'label_notices'