- format.html {
- @sheet = @item
- if @operators.author
- @new_panels = Panel.mylist(@operators.author, 1, 5)
- @new_stories = Story.mylist(@operators.author, 1, 5)
- @fresh_stories = StorySheet.mylist(@operators.author, 1, 5).map {|ss| ss.story}
- end
- }
- format_prof format
- format.json { render json: @item.to_json(Sheet.show_json_opt) }
- format.atom
- format.rss
+ show_html_format format
+ show_prof_format format
+ show_json_format_for_root format