User profiles: use name instead of id in links to post edits

This commit is contained in:
nonamethanks
2021-03-12 03:05:38 +01:00
parent 0249c290fd
commit ce86f6d274
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,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(:search => {:updater_name => user.name}))
end
def note_version_count(template)