def show_html_format format
format.html {
- play_list = Locmare::ListGroup.list(
+ @play_list = Locmare::ListGroup.list(
'scroll_panels', 'by_scroll', @operators,
- {:id => @item.id, :my_play => @item.own?(@operators)}
+ {:id => @item.id, :page_size => -1} # set no limit options}
)
- @play_count = play_list.count(@operators)
}
end
@new_panel_items = assist_items('home', 'panels')
end
}
- format.json { render json: @items.to_json }
+ list_json_format @list, format
end
end
- def count
- list_count
- end
-
- def count_by_author
- list_count
- end
-
- def count_by_panel
- list_count
- end
-
- def count_play
- list_count
- end
-
def new
form_new
end