From 072c6f1527177edc53f246a3f701d5f06349de4a Mon Sep 17 00:00:00 2001 From: ymmtmdk Date: Mon, 24 Apr 2017 04:45:03 +0900 Subject: Add link for domain in land strip (#2306) * Add link for domain in land strip * Use root_path * Avoid repeating code --- app/views/shared/_landing_strip.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/shared') diff --git a/app/views/shared/_landing_strip.html.haml b/app/views/shared/_landing_strip.html.haml index 02e694418..c6b4a666b 100644 --- a/app/views/shared/_landing_strip.html.haml +++ b/app/views/shared/_landing_strip.html.haml @@ -2,4 +2,5 @@ = t('landing_strip_html', name: content_tag(:span, display_name(account), class: :emojify), domain: site_hostname, + link_to_root_path: link_to(content_tag(:strong, site_hostname), root_path), sign_up_path: new_user_registration_path) -- cgit