1 class LicenseGroupsController < ApplicationController
2 if Manifest.manifest.magic_numbers['run_mode'] == 0
4 before_filter :authenticate_reader, :only => [
6 :count_by_resource_picture,
9 before_filter :authenticate_admin, :only => [:new, :create, :edit, :update, :destroy]
15 def by_resource_picture
19 def show_html_format format
21 @license_group = @item
27 respond_to do |format|
28 show_html_format format
29 show_prof_format format
30 show_json_format format
38 def count_by_resource_picture
52 @item = @my_model_class.new
54 @my_model_class.fold_extend_settings params[@my_model_class.item_name]
55 @item.attributes = params[@my_model_class.item_name]
62 @my_model_class.fold_extend_settings params[@my_model_class.item_name]
63 @item.attributes = params[@my_model_class.item_name]