From 0a2dae867203c424d3b0296fca0f04d6ac8bbb87 Mon Sep 17 00:00:00 2001 From: Manuel Ortega Date: Wed, 15 Nov 2017 19:23:03 +0100 Subject: [PATCH] Fixed link back from moderation dashboard to root_path Passing the organization name to the locale yml file --- app/views/moderation/dashboard/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/moderation/dashboard/index.html.erb b/app/views/moderation/dashboard/index.html.erb index acdfa954a..d621f7555 100644 --- a/app/views/moderation/dashboard/index.html.erb +++ b/app/views/moderation/dashboard/index.html.erb @@ -1,4 +1,4 @@ -<%= link_to t("admin.dashboard.index.back") + " " + setting['org_name'], root_path, class: "button float-right" %> +<%= link_to t("admin.dashboard.index.back", org: setting['org_name']), root_path, class: "button float-right" %>

<%= t("moderation.dashboard.index.title") %>