mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
restore page title in tag view
This commit is contained in:
parent
9d09a4d47a
commit
abdac8855d
1 changed files with 1 additions and 1 deletions
|
|
@ -337,9 +337,9 @@ class TodosController < ApplicationController
|
||||||
|
|
||||||
# /todos/tag/[tag_name] shows all the actions tagged with tag_name
|
# /todos/tag/[tag_name] shows all the actions tagged with tag_name
|
||||||
def tag
|
def tag
|
||||||
@page_title = "TRACKS::Tagged with \'#{@tag_name}\'"
|
|
||||||
@source_view = params['_source_view'] || 'tag'
|
@source_view = params['_source_view'] || 'tag'
|
||||||
@tag_name = params[:name]
|
@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
|
# mobile tags are routed with :name ending on .m. So we need to chomp it
|
||||||
@tag_name = @tag_name.chomp('.m') if mobile?
|
@tag_name = @tag_name.chomp('.m') if mobile?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue