aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorrhenium <rhenium@rhe.jp>2014-07-28 18:20:14 +0900
committerrhenium <rhenium@rhe.jp>2014-07-28 18:20:14 +0900
commit78d2075927024edddfdfa48fcf779a8fac4ad859 (patch)
tree97d2942eaa9be5fe621331deaee16df78bf09ecd /app/controllers/application_controller.rb
parentd7904795eaf697be66ef2330db10cc7f9f53a368 (diff)
downloadaclog-78d2075927024edddfdfa48fcf779a8fac4ad859.tar.gz
api: tweets/user_best: add recent parameter (experimental)
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index cf7bdc6..db1edd8 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -37,7 +37,7 @@ class ApplicationController < ActionController::Base
private
def tidy_response_body
- if [:html, :xml, :rss, :atom].any? {|s| request.format == s }
+ if [:html, :xml, :atom].any? {|s| request.format == s }
response.body = ActiveSupport::Multibyte::Unicode.tidy_bytes(response.body)
end
end