- format.png { send_data(@item.restore, opt ) }
- format.gif { send_data(@item.restore, opt ) }
- format.jpeg { send_data(@item.restore, opt ) }
- format.html {
- @original_picture = @item
- #ライセンス付与のために原画ライセンスグループ作成準備
- @original_picture_license_group = OriginalPictureLicenseGroup.new :original_picture_id => @item.id
- render
- }
- format_prof format
- format.json { render json: @item.to_json(OriginalPicture.show_json_opt)}
+ format.png { send_data(@item.restore(params[:subdir]), opt ) }
+ format.gif { send_data(@item.restore(params[:subdir]), opt ) }
+ format.jpeg { send_data(@item.restore(params[:subdir]), opt ) }
+ show_html_format format
+ show_prof_format format
+ show_json_format format