filer_list
end
+ def show_html_format format
+ format.html {
+ @writing_format = @item
+ }
+ end
+
def show
- @item = WritingFormat.show(params[:id], @operators)
-
+ set_show
respond_to do |format|
- format.html {
- @writing_format = @item
- }
- format_prof format
- format.json { render :json => @item.to_json(WritingFormat.show_json_opt) }
+ show_html_format format
+ show_prof_format format
+ show_json_format format
end
end