0
0
Fork 0

Add link for domain in land strip (#2306)

* Add link for domain in land strip

* Use root_path

* Avoid repeating code
This commit is contained in:
ymmtmdk 2017-04-24 04:45:03 +09:00 committed by Eugen
parent 55e32fe579
commit 072c6f1527
20 changed files with 20 additions and 19 deletions

View file

@ -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)