add mock recommender service for development, add user-context recommended posts
This commit is contained in:
3
app/views/recommended_posts/_show.html.erb
Normal file
3
app/views/recommended_posts/_show.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<section class="recommended-posts user-disable-cropped-<%= Danbooru.config.enable_image_cropping && CurrentUser.user.disable_cropped_thumbnails? %>">
|
||||
<%= PostSets::Recommended.new(@posts).presenter.post_previews_html(self) %>
|
||||
</section>
|
||||
Reference in New Issue
Block a user