This commit is contained in:
albert
2013-02-23 21:02:06 -05:00
parent d3e91e8290
commit d754d85bdb
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@
<% if forum_post.editable_by?(CurrentUser.user) %>
<li><%= link_to "Edit", edit_forum_post_path(forum_post.id) %></li>
<% end %>
<li><%= link_to "Parent", forum_topic_path(forum_post.topic) %></li>
<li><%= link_to "Parent", forum_topic_path(forum_post.topic, :page => forum_post.forum_topic_page) %></li>
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
</menu>
</div>

View File

@@ -1,5 +1,6 @@
<div id="c-forum-topics">
<div id="a-show" class="single-forum-post list-of-forum-posts">
<h1>Topic: <%= @forum_post.topic.title %></h1>
<%= render "forum_post", :forum_post => @forum_post %>
</div>
</div>