#マニフェスト\r
@lists = {\r
scroll: {\r
- default_page_size: 25, \r
- max_page_size: 100, \r
- lists: {\r
- public_list: {\r
- type: 'public',\r
- },\r
- private_list: {\r
- type: 'private',\r
- },\r
- scroll_panels: {\r
- type: 'has_many',\r
- association_name: 'scroll_panels',\r
- },\r
- panels: {\r
- type: 'has_many_through',\r
- association_name: 'panels',\r
- },\r
- by_author: {\r
- type: 'filter',\r
- from: 'author',\r
- filter_key: 'author_id',\r
- },\r
- by_panel: {\r
- type: 'through_filter',\r
- from: 'panel',\r
- through: 'scroll_panels',\r
- filter_key: 'panel_id',\r
- },\r
- play: {\r
- type: 'play',\r
- model: 'scroll_panel',\r
- filter_key: 'scroll_id',\r
- },\r
+ public_list: {\r
+ type: 'public',\r
+ },\r
+ private_list: {\r
+ type: 'private',\r
+ },\r
+ scroll_panels: {\r
+ type: 'has_many',\r
+ association_name: 'scroll_panels',\r
+ },\r
+ panels: {\r
+ type: 'has_many_through',\r
+ association_name: 'panels',\r
+ },\r
+ by_author: {\r
+ type: 'filter',\r
+ from: 'author',\r
+ filter_key: 'author_id',\r
+ },\r
+ by_panel: {\r
+ type: 'through_filter',\r
+ from: 'panel',\r
+ through: 'scroll_panels',\r
+ filter_key: 'panel_id',\r
+ },\r
+ play: {\r
+ type: 'play',\r
+ model: 'scroll_panel',\r
+ filter_key: 'scroll_id',\r
},\r
},\r
scroll_panel: {\r