OSDN Git Service

add scroll player
[pettanr/pettanr.git] / app / controllers / scrolls_controller.rb
index 0f69df7..323f224 100644 (file)
@@ -51,7 +51,7 @@ class ScrollsController < ApplicationController
           @new_panel_items = assist_items('home', 'panels')
         end
       }
-      format.json { render json: @items.to_json }
+      list_json_format @list, format
     end
   end