recommendations: open user recommendations to all users.
* Open recommendations to all users (not just gold). * Show recommendations on all posts (not just posts after 2017). * Allow users to browse recommendations for other users. * Increase number of recommended posts returned. * Change endpoints to /recommended_posts?user_id=1234 and /recommended_posts?post_id=1234 and add json/xml support.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div id="a-show">
|
||||
<h1>Recommended Posts</h1>
|
||||
|
||||
<p>Based on your favorites, you may enjoy these posts. Favorite more to get more accurate results. These recommendations update every hour.</p>
|
||||
<p>Based on your favorites, you may enjoy these posts. Favorite more posts to get more accurate results. These recommendations update every few hours.</p>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
<%= render partial: "show" %>
|
||||
|
||||
1
app/views/recommended_posts/show.js.erb
Normal file
1
app/views/recommended_posts/show.js.erb
Normal file
@@ -0,0 +1 @@
|
||||
$("#recommended").html("<%= j render "recommended_posts/show" %>");
|
||||
Reference in New Issue
Block a user