@AntonKhorev commented on this pull request.


> +    if params[:format] == "json"
+      render :html => @results.pluck(:name).join(", ")

It doesn't output json when `params[:format] == "json"`, does it? Did you 
actually want plaintext?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5302#pullrequestreview-2591388046
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5302/review/2591388...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to