Class: Katello::OrganizationsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/katello/organizations_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#authorized, #current_organization, #current_organization=, #default_label, #default_label_assigned, #escape_html, #flash_to_headers, #format_time, #generate_label, #label_overridden, #n_gettext_for_generate_label, #no_env_available_msg, #parse_calendar_date, #permission_denied, #render_correct_nav

Instance Method Details

#rulesObject



5
6
7
8
9
10
# File 'app/controllers/katello/organizations_controller.rb', line 5

def rules
  {
    :auto_complete_search => lambda { Organization.any_readable? },
    :default_label => lambda { Organization.creatable? }
  }
end

#section_idObject



12
13
14
# File 'app/controllers/katello/organizations_controller.rb', line 12

def section_id
  'operations'
end