Merge branch 'master' of github.com:r888888888/danbooru

This commit is contained in:
r888888888
2013-06-10 16:33:34 -07:00
7 changed files with 44 additions and 4 deletions

View File

@@ -36,6 +36,9 @@
<td><%= post_version_diff(post_version) %></td>
<% if CurrentUser.is_member? %>
<td>
<% if post_version.id != post_version.post.versions.first.id %>
<%= 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 %>
</td>
<% end %>

View File

@@ -0,0 +1 @@
location.reload();