posts_controller.rb: remove unused /posts/home action.

Unused since a4911e3.
This commit is contained in:
evazion
2017-02-05 18:23:47 -06:00
parent 7e1f63de6a
commit 23038de470
2 changed files with 0 additions and 9 deletions

View File

@@ -83,14 +83,6 @@ class PostsController < ApplicationController
end
end
def home
if CurrentUser.user.is_anonymous?
redirect_to intro_explore_posts_path
else
redirect_to posts_path(:tags => params[:tags])
end
end
def random
count = Post.fast_count(params[:tags], :statement_timeout => CurrentUser.user.statement_timeout)
@post = Post.tag_match(params[:tags]).random