From 075b1d21432237adac17e7cb2d3048f371a43828 Mon Sep 17 00:00:00 2001 From: yanxd Date: Thu, 3 Apr 2014 08:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=AD=E6=96=87=E5=9C=A8co?= =?UTF-8?q?ntroller=E9=87=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/tags_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb index 2c4dbecfe..71c9b0e7e 100644 --- a/app/controllers/tags_controller.rb +++ b/app/controllers/tags_controller.rb @@ -1,3 +1,4 @@ +# encoding: utf-8 # This controller was added by william class TagsController < ApplicationController layout "base_tags" @@ -22,7 +23,7 @@ class TagsController < ApplicationController NUMBERS = Setting.tags_show_search_results # 预设几个可以添加的tag - @preTags = %w|预设A 预设B 预设C 预设D 预设E 预设F | + #@preTags = %w|预设A 预设B 预设C 预设D 预设E 预设F | # 接收参数解释: # params[:q]这是在其他页面点击tag,跳转到该页面后的结果显示 ;params[:selected_tags],这是在过滤页面增删tag进行过滤传过来的参数