adds consistency for back links

This commit is contained in:
decabeza
2017-07-26 18:18:30 +02:00
parent 7b780247c6
commit 0b235d69d4
20 changed files with 24 additions and 81 deletions

View File

@@ -1,9 +1,7 @@
<div class="row">
<div class="small-12 column margin-top">
<%= link_to commentable_path(@comment), class: "back" do %>
<span class="icon-angle-left"></span>
<%= t("comments.show.return_to_commentable") + @comment.commentable.title %>
<% end %>
<%= back_link_to commentable_path(@comment),
t("comments.show.return_to_commentable") + @comment.commentable.title %>
</div>
</div>