<p>In app/controllers/changeset_controller.rb:</p>
<pre style='color:#555'>> +    # Return a copy of the updated changeset
> +    render :action => :show
> +  end
> +
> +  ## 
> +  # Adds a subscriber to the changeset
> +  def subscribe
> +    # 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
> +    @changeset = Changeset.find(id)
> +    raise OSM::APINotFoundError unless @changeset
</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#r15402571">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/1419053__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMTkxNzE1MSwiZGF0YSI6eyJpZCI6MzU4NjU3NjJ9fQ==--19261869eb3d88cf9b49bf71077cd3e1519fdb7f.gif" width="1" /></p>