From 97dac713890644a4b75f76818d865380c701b15d Mon Sep 17 00:00:00 2001 From: joshua stein Date: Mon, 9 Nov 2015 10:01:43 -0600 Subject: [PATCH] tags: set @title tweak @title of filters controller --- app/controllers/filters_controller.rb | 2 +- app/controllers/tags_controller.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index 45c82c2..d2e5ccb 100644 --- a/app/controllers/filters_controller.rb +++ b/app/controllers/filters_controller.rb @@ -3,7 +3,7 @@ class FiltersController < ApplicationController def index @cur_url = "/filters" - @title = "Filtered Tags" + @title = "Tag Filters" @tags = Tag.active.all_with_story_counts_for(@user) diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 83b1bdf..7e7fe1c 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -1,5 +1,8 @@ class TagsController < ApplicationController def index + @cur_url = "/tags" + @title = "Tags" + @tags = Tag.all_with_story_counts_for(nil) respond_to do |format|