Use double quotes in app/views
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<div class="js-follow">
|
||||
<span class="followable-content">
|
||||
<% if follow.followable.followed_by?(current_user) %>
|
||||
<%= link_to t('shared.following'),
|
||||
<%= link_to t("shared.following"),
|
||||
follow_path(follow),
|
||||
method: :delete, remote: true,
|
||||
title: unfollow_text(follow.followable),
|
||||
class: 'button expanded' %>
|
||||
class: "button expanded" %>
|
||||
|
||||
<% else %>
|
||||
<%= link_to follow_text(follow.followable),
|
||||
@@ -13,7 +13,7 @@
|
||||
followable_type: follow.followable.class.name),
|
||||
method: :post, remote: true,
|
||||
title: follow_text(follow.followable),
|
||||
class: 'button hollow expanded' %>
|
||||
class: "button hollow expanded" %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user