OSDN Git Service

fix: bin tool
[pettanr/pettanr.git] / app / controllers / panels_controller.rb
index 27f6c4d..70d8d5d 100644 (file)
@@ -50,8 +50,8 @@ class PanelsController < ApplicationController
   def show_html_format format
     format.html {
       if @operators.author
-        @new_scroll_items = assist_items('home', 'scrolls')
-        @fresh_scroll_items = assist_items('home', 'scroll_panels').map {|sp| sp.scroll}
+        @new_scroll_items = assist_items('home', 'scrolls', finder: :find_private, param: @operators)
+        @fresh_scroll_items = assist_items('home', 'scroll_panels', finder: :find_private, param: @operators).map {|sp| sp.scroll}
       end
     }
   end