Fixed a bug

Fixed a bug that made it so when you are editing a reply, you can't go
back to the original thread using the "line" of links at the top
This commit is contained in:
Jonas Folvik
2016-01-04 21:49:21 +01:00
parent 3275c05a5f
commit d9b971ab34

View File

@@ -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} %>