X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/467990a45bbc9ca64c275b42e27a8b15ab9b236b..71606b34f0fa50ab340c85034f69e7357479b93c:/app/controllers/trace_controller.rb?ds=inline diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 231181ff3..c5552f39d 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -8,6 +8,7 @@ class TraceController < ApplicationController # paging_action - the action that will be linked back to from view def list (target_user = nil, paging_action = 'list') @title = 'public GPS traces' + @title += " tagged with #{params[:tag]}" if params[:tag] @traces_per_page = 20 page_index = params[:page] ? params[:page].to_i - 1 : 0 # nice 1-based page -> 0-based page index