add basic user revert functionality

This commit is contained in:
r888888888
2016-09-28 04:56:12 -07:00
parent 859efe026c
commit 5b48d272f2
8 changed files with 121 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ class UserPresenter
end
def post_version_count(template)
template.link_to(user.post_update_count, template.post_versions_path(:search => {:updater_id => user.id}))
template.link_to(user.post_update_count, template.post_versions_path(:lr => user.id, :search => {:updater_id => user.id}))
end
def note_version_count(template)