Class: Katello::OrganizationsController
Instance Method Summary
collapse
#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
#rules ⇒ Object
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_id ⇒ Object
12
13
14
|
# File 'app/controllers/katello/organizations_controller.rb', line 12
def section_id
'operations'
end
|