Extract links to signin and signup to methods
This commit is contained in:
@@ -82,8 +82,8 @@
|
||||
|
||||
<div class="participation-not-allowed" style="display:none" aria-hidden="false">
|
||||
<%= t("votes.comment_unauthenticated",
|
||||
signin: link_to(t("users.signin"), new_user_session_path),
|
||||
signup: link_to(t("users.signup"), new_user_registration_path)).html_safe %>
|
||||
signin: link_to_signin,
|
||||
signup: link_to_signup).html_safe %>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user