1 class LicenseGroupsController < ApplicationController
2 before_filter :authenticate_admin!, :only => [:list, :browse]
17 @item = LicenseGroup.show(params[:id], @operators)
18 respond_to do |format|
20 @license_group = @item
23 format.json { render json: @item.to_json(LicenseGroup.show_json_opt) }
28 @license_groups = LicenseGroup.all
30 respond_to do |format|
31 format.html { render layout: 'system' }
36 @license_group = LicenseGroup.find(params[:id])
38 respond_to do |format|
39 format.html { render layout: 'system' }