]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Disable forgery protection for notes API methods
[rails.git] / app / controllers / trace_controller.rb
index b6fd2984ab47373b8f457f8cdb0b53a262ce404b..916a470245541e1d3201882c9f3d6bccfc289904 100644 (file)
@@ -59,6 +59,8 @@ class TraceController < ApplicationController
 
     @traces = @traces.tagged(params[:tag]) if params[:tag]
 
+    @params = params.permit(:display_name, :tag)
+
     @page = (params[:page] || 1).to_i
     @page_size = 20