fixed date formatting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="right controls"><%= link_to "Back to Forum List", forums_path if can? :create, Forum %></div>
|
||||
<div class="right controls"><%= link_to "Back to Forum List", forums_path %></div>
|
||||
<div class="module">
|
||||
<div class="module_header">
|
||||
<%= @forum.title %>
|
||||
@@ -37,7 +37,7 @@
|
||||
<td class="counts smaller"><%= topic.posts.size - 1 %></td>
|
||||
<td class="counts smaller"><%= topic.hits %></td>
|
||||
<td class="last_post smaller">
|
||||
<%= topic.posts.last.created_at %><br />
|
||||
<%=l topic.posts.last.created_at %><br />
|
||||
by <%= topic.posts.last.user.username %>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -45,4 +45,4 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right controls"><p><%= link_to "Back to Forum List", forums_path if can? :create, Forum %></p></div>
|
||||
<div class="right controls"><p><%= link_to "Back to Forum List", forums_path %></p></div>
|
||||
|
||||
Reference in New Issue
Block a user