summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Folvik <Jonas-folvik@hotmail.com>2016-01-17 00:44:31 +0100
committerJonas Folvik <Jonas-folvik@hotmail.com>2016-01-17 00:44:31 +0100
commit553a15519abe5c0bcc67aaf09c0823639e1838e4 (patch)
tree388fdbd847b7c4ae0314c20b9077f360ffc50e13
parente1fe02eacc4f564e4d0ae1689eaeaf0fffb50b11 (diff)
Fixed path bug
This is a fix for the bug that you couldn't go back to the original thread by clicking the links at the top.
-rw-r--r--app/views/threadreplies/edit.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/threadreplies/edit.html.erb b/app/views/threadreplies/edit.html.erb
index 645c64d..d3218cd 100644
--- a/app/views/threadreplies/edit.html.erb
+++ b/app/views/threadreplies/edit.html.erb
@@ -1,6 +1,6 @@
<% title "Edit Thread Reply: #{@reply.thread.title}" %>
-<%= link_to @reply.thread.forum.group, forumgroup_path(@reply.thread.forum.group) %> → <%= link_to @reply.thread.forum, @reply.thread.forum %> → <%= link_to @reply.thread %> → Edit reply
+<%= link_to @reply.thread.forum.group, forumgroup_path(@reply.thread.forum.group) %> → <%= link_to @reply.thread.forum, @reply.thread.forum %> → <%= link_to @reply.thread, @reply.thread %> → Edit reply
<h1>Edit reply</h1>
<%= form_for [@reply.thread, @reply] do |f| %>
<%= render partial: "md_editor", locals: {name: "threadreply[content]", content: @reply.content} %>