1 class LicensesController < ApplicationController
2 before_filter :authenticate_resource_reader, :only => [
3 :by_license_group, :by_system_picture, :count_by_license_group, :count_by_system_picture
22 def show_html_format format
30 respond_to do |format|
31 show_html_format format
32 show_prof_format format
33 show_json_format format
38 @licenses = License.list_by_name(params[:name])
40 respond_to do |format|
42 format.json { render json: @licenses.to_json }
50 def count_by_license_group
54 def count_by_system_picture