fixed date formatting

This commit is contained in:
Mike Kelley
2011-08-27 12:56:36 -06:00
parent 1c65d376de
commit 5a77a3a681
9 changed files with 20 additions and 16 deletions

View File

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