]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/changesets_helper.rb
Move changeset comment feeds to resourceful routes
[rails.git] / app / helpers / changesets_helper.rb
index dbee08c507f175e691fffae849b45b357f3515f7..9705221607cddd6a9180b1533d59d61579fcec7f 100644 (file)
@@ -3,7 +3,7 @@ module ChangesetsHelper
     if changeset.user.status == "deleted"
       t("users.no_such_user.deleted")
     elsif changeset.user.data_public?
     if changeset.user.status == "deleted"
       t("users.no_such_user.deleted")
     elsif changeset.user.data_public?
-      link_to(changeset.user.display_name, user_path(changeset.user))
+      link_to changeset.user.display_name, changeset.user
     else
       t("browse.anonymous")
     end
     else
       t("browse.anonymous")
     end