diff options
author | rhenium <rhenium@rhe.jp> | 2014-07-28 18:20:14 +0900 |
---|---|---|
committer | rhenium <rhenium@rhe.jp> | 2014-07-28 18:20:14 +0900 |
commit | 78d2075927024edddfdfa48fcf779a8fac4ad859 (patch) | |
tree | 97d2942eaa9be5fe621331deaee16df78bf09ecd /app/controllers/application_controller.rb | |
parent | d7904795eaf697be66ef2330db10cc7f9f53a368 (diff) | |
download | aclog-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.rb | 2 |
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 |