X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fcontrollers%2Flicense_groups_controller.rb;h=5c2aedfdd82a7d24d0c3dcd68fabeeff1a9fa8bc;hb=a060bd77160f7efcad5d4580e9b476a5b2431c45;hp=1f0c0f833151c53608fdfa6bda333563787ff53f;hpb=623fb328302e8daec437b33f9511cdb491cbc203;p=pettanr%2Fpettanr.git diff --git a/app/controllers/license_groups_controller.rb b/app/controllers/license_groups_controller.rb index 1f0c0f83..5c2aedfd 100644 --- a/app/controllers/license_groups_controller.rb +++ b/app/controllers/license_groups_controller.rb @@ -9,14 +9,18 @@ class LicenseGroupsController < ApplicationController filer_list end + def show_html_format format + format.html { + @license_group = @item + } + end + def show - @item = LicenseGroup.show(params[:id], @operators) + set_show respond_to do |format| - format.html { - @license_group = @item - } - format_prof format - format.json { render json: @item.to_json(LicenseGroup.show_json_opt) } + show_html_format format + show_prof_format format + show_json_format format end end