class LicenseGroupsController < ApplicationController
- layout 'test' if Pettanr::TestLayout
+ layout 'test' if MagicNumber['test_layout']
before_filter :authenticate_admin!, :only => [:list, :browse]
# GET /license_groups
# GET /license_groups.json
def index
- @license_groups = LicenseGroup.list({})
+ @license_groups = LicenseGroup.list()
respond_to do |format|
format.html # index.html.erb
@license_group = LicenseGroup.show(params[:id])
respond_to do |format|
format.html # show.html.erb
- format.json { render json: @license_group.to_json(LicenseGroup.show_json_include_opt) }
+ format.json { render json: @license_group.to_json(LicenseGroup.show_json_opt) }
end
end