1 class LicenseGroupsController < ApplicationController
2 before_filter :authenticate_admin, :only => [:new, :create, :edit, :update, :destroy]
12 def show_html_format format
14 @license_group = @item
20 respond_to do |format|
21 show_html_format format
22 show_prof_format format
23 show_json_format format
41 @item = @my_model_class.new
43 @my_model_class.fold_extend_settings params[@my_model_class.item_name]
44 @item.attributes = params[@my_model_class.item_name]
51 @my_model_class.fold_extend_settings params[@my_model_class.item_name]
52 @item.attributes = params[@my_model_class.item_name]