replaces back_link partial to back_link_to helper

This commit is contained in:
decabeza
2017-07-26 18:22:45 +02:00
parent 0b235d69d4
commit 6c5513ab38
18 changed files with 17 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
<%= render "shared/back_link" %>
<%= back_link_to %>
<h2><%= t("admin.questions.edit.title") %></h2>

View File

@@ -1,4 +1,4 @@
<%= render "shared/back_link" %>
<%= back_link_to %>
<h2><%= t("admin.questions.new.title") %></h2>

View File

@@ -1,4 +1,4 @@
<%= render "shared/back_link" %>
<%= back_link_to %>
<%= link_to t('shared.edit'), edit_admin_question_path(@question),
class: "button hollow float-right" %>