aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/search_controller.rb
diff options
context:
space:
mode:
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