move recommended tab to second position

This commit is contained in:
r888888888
2018-07-21 12:09:16 -07:00
parent 9cfb629891
commit 93c074c15b
3 changed files with 6 additions and 10 deletions

View File

@@ -8,7 +8,8 @@ module RecommenderService
end
def available?(post)
enabled? && CurrentUser.enable_recommended_posts? && post.created_at > Date.civil(2018, 1, 1) #&& post.score >= SCORE_THRESHOLD
return true if Rails.env.development?
enabled? && CurrentUser.enable_recommended_posts? && post.created_at > Date.civil(2018, 1, 1) && post.score >= SCORE_THRESHOLD
end
def similar(post)