1 class LicenseGroupsController < ApplicationController
2 before_filter :authenticate_admin, :only => [:new, :create, :edit, :update, :destroy]
8 def show_html_format format
10 @license_group = @item
16 respond_to do |format|
17 show_html_format format
18 show_prof_format format
19 show_json_format format
37 @item = @my_model_class.new
39 @my_model_class.fold_extend_settings params[@my_model_class.item_name]
40 @item.attributes = params[@my_model_class.item_name]
47 @my_model_class.fold_extend_settings params[@my_model_class.item_name]
48 @item.attributes = params[@my_model_class.item_name]