diff --git a/app/views/post_versions/_listing.html.erb b/app/views/post_versions/_listing.html.erb index ed5ff4178..39ab5026b 100644 --- a/app/views/post_versions/_listing.html.erb +++ b/app/views/post_versions/_listing.html.erb @@ -37,7 +37,7 @@ <% if CurrentUser.is_member? %> <% if post_version.post.visible? %> - <% if post_version.id != post_version.post.versions.first.id %> + <% if post_version.version != 1 %> <%= link_to "Undo", undo_post_version_path(post_version), :method => :put, :remote => true %> | <% end %> <%= link_to "Revert to", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>