-
- def show
- @item = Sheet.show(params[:id], @operators)
-
- respond_to do |format|
- 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
- end