OSDN Git Service

fix orm
[pettanr/pettanr.git] / app / controllers / license_groups_controller.rb
1 class LicenseGroupsController < ApplicationController
2   before_filter :authenticate_admin!, :only => []
3   
4   def self.model
5     LicenseGroup
6   end
7   
8   def index
9     filer_list
10   end
11   
12   def show_html_format format
13     format.html {
14       @license_group = @item
15     }
16   end
17   
18   def show
19     set_show
20     respond_to do |format|
21       show_html_format format
22       show_prof_format format
23       show_json_format format
24     end
25   end
26   
27   def count
28     list_count
29   end
30   
31 end