app/views/panda_cms/admin/posts/index.html.erb in panda_cms-0.5.5 vs app/views/panda_cms/admin/posts/index.html.erb in panda_cms-0.5.6

- old
+ new

@@ -5,10 +5,10 @@ <%= render PandaCms::Admin::TableComponent.new(rows: posts) do |table| %> <% table.column("Title") do |post| %> <div class=""> <%= link_to post.title, edit_admin_post_path(post), class: "block h-full w-full" %> - <span class="block text-xs text-black/60"><%= post.path %></span> + <span class="block text-xs text-black/60"><%= post_path(post) %></span> </div> <% end %> <% table.column("Status") { |post| render PandaCms::Admin::TagComponent.new(status: post.status) } %> <% table.column("Published") { |post| render PandaCms::Admin::UserActivityComponent.new(at: post.published_at, user: post.user)} %> <% table.column("Last Updated") { |post| render PandaCms::Admin::UserActivityComponent.new(whodunnit_to: post)} %>