[openstreetmap-website] Changeset discussion feature (#772)

Łukasz Gurdek notifications at github.com
Tue Jul 29 19:29:33 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)

Will it be ok to assume that we're not showing hidden comments to non-moderators everywhere?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/772/files#r15546320
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140729/6e344ad4/attachment.html>


More information about the rails-dev mailing list