]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
fixing version problem for way_tags
[rails.git] / app / controllers / trace_controller.rb
index 231181ff3f4acd977871cd57d2dca87d3100c1c2..c5552f39d07f44b2359338852049a3743727102a 100644 (file)
@@ -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