app/views/spud/admin/news_posts/index.html.erb in spud_blog-0.5.1 vs app/views/spud/admin/news_posts/index.html.erb in spud_blog-0.6.0
- old
+ new
@@ -15,10 +15,10 @@
<tbody>
<% @posts.each do |post| %>
<tr>
<td><%= link_to post.title, edit_spud_admin_news_post_path(post) %></td>
<td><%= post.author.full_name %></td>
- <td><%= post.published_at.strftime('%m/%d/%Y') %></td>
+ <td><%= link_to(post.published_at.strftime('%m/%d/%Y'), news_post_path(post.url_name)) %></td>
<td align="right">
<%= link_to 'Delete', spud_admin_news_post_path(post), :method => :delete, :confirm => 'Are you sure you want to delete this post?', :class => 'spud_admin_button_delete' %>
</td>
</tr>
<%end%>
\ No newline at end of file