<p>In app/controllers/changeset_controller.rb:</p>
<pre style='color:#555'>> +    # Return a copy of the updated changeset
> +    render :action => :show
> +  end
> +
> +  ## 
> +  # Sets visible flag on comment to false
> +  def hide_comment
> +    # Check the arguments are sane
> +    raise OSM::APIBadUserInput.new("No id was given") unless params[:id]
> +
> +    # Extract the arguments
> +    id = params[:id].to_i
> +
> +    # Find the changeset and check it is valid
> +    @comment = ChangesetComment.find(id)
> +    raise OSM::APINotFoundError unless @comment
</pre>
<p>Same comment as above.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/772/files#r15402599">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMTkxNzE4NywiZGF0YSI6eyJpZCI6MzU4NjU3NjJ9fQ==--2c6a2c86255b857aa477c0f822cf30e631ccf859.gif" width="1" /></p>