[openstreetmap-website] Changeset discussion feature (#772)
Tom Hughes
notifications at github.com
Tue Jul 29 20:18:14 UTC 2014
> @@ -58,6 +58,7 @@ def node_history
> def changeset
> @type = "changeset"
> @changeset = Changeset.find(params[:id])
> + @comments = @changeset.comments.unscope(:where => :visible).includes(:author)
I think so - I can't see why we would ever show hidden comments to non-moderators.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/772/files#r15549210
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140729/6a8f413e/attachment.html>
More information about the rails-dev
mailing list