X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8412ed0bed0d2be7814683c71e121b3335697601..c555c912047c8d0d23123093a729aa87ca642aee:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index b6fd2984a..916a47024 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -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