From abdac8855d5d17eaa63f877cca53fc6df83f5e35 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Thu, 28 Aug 2008 10:25:58 +0200 Subject: [PATCH] restore page title in tag view --- app/controllers/todos_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/todos_controller.rb b/app/controllers/todos_controller.rb index 0ce52b51..54a83116 100644 --- a/app/controllers/todos_controller.rb +++ b/app/controllers/todos_controller.rb @@ -337,9 +337,9 @@ class TodosController < ApplicationController # /todos/tag/[tag_name] shows all the actions tagged with tag_name def tag - @page_title = "TRACKS::Tagged with \'#{@tag_name}\'" @source_view = params['_source_view'] || 'tag' @tag_name = params[:name] + @page_title = "TRACKS::Tagged with \'#{@tag_name}\'" # mobile tags are routed with :name ending on .m. So we need to chomp it @tag_name = @tag_name.chomp('.m') if mobile?