app/views/pulitzer/posts/_show_slug.html.erb in pulitzer-0.11.2 vs app/views/pulitzer/posts/_show_slug.html.erb in pulitzer-0.11.3
- old
+ new
@@ -1,8 +1,8 @@
<div class="pulitzer-row">
<ul class="list">
<li><%= post.slug %></li>
<% unless post.post_type.singleton_post? %>
- <li><%= ajax_link "Edit", edit_slug_post_path(post), {}, dom_target(post) %></li>
+ <li><%= ajax_link "Edit", edit_slug_post_path(post, version_id: version), {}, dom_target(post) %></li>
<% end %>
</ul>
</div>