Sha256: 889fd00bfe1938d25f70d81fdeea995894828e21dbbe7414a6a497aff9f3fca5
Contents?: true
Size: 642 Bytes
Versions: 7
Compression:
Stored size: 642 Bytes
Contents
module Katello class OrganizationsController < Katello::ApplicationController before_action :search_filter, :only => [:auto_complete_search] def rules { :auto_complete_search => lambda { Organization.any_readable? }, :default_label => lambda { Organization.creatable? } } end def section_id 'operations' end protected def search_filter @filter = {:organization_id => current_organization} end def controller_display_name return 'organization' end private def default_notify_options super.merge :organization => nil end end end
Version data entries
7 entries across 7 versions & 1 rubygems