aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/search_controller.rb
diff options
context:
space:
mode:
authorre4k <re4k@re4k.info>2013-04-04 03:07:35 +0900
committerre4k <re4k@re4k.info>2013-04-04 03:07:35 +0900
commit61dde16fd55babd2ccf5ff6a9c8be1f600868d9b (patch)
treeaf4e6f14ad16f87e911426e950ff1d72128f8328 /app/controllers/search_controller.rb
parent1b49426b0c935a44262384acb526e5fbb86598c7 (diff)
downloadaclog-61dde16fd55babd2ccf5ff6a9c8be1f600868d9b.tar.gz
Add repoting copied tweets form
Diffstat (limited to 'app/controllers/search_controller.rb')
-rw-r--r--app/controllers/search_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 2777c0a..45f10b1 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -7,7 +7,7 @@ class SearchController < ApplicationController
# TODO: OR とか () とか対応したいよね
unless params[:query]
- render_tweets(Tweet.where(:id => -1))
+ render_page(Tweet.where(:id => -1))
return
end
words = Shellwords.shellwords(params[:query])
@@ -74,7 +74,7 @@ class SearchController < ApplicationController
end
end
- render_tweets(result)
+ render_page(result)
end
private