Sha256: e0e418e6302665e332001e6e3408d37660a3d2d419b7f92c39bbe026efdc6783
Contents?: true
Size: 642 Bytes
Versions: 22
Compression:
Stored size: 642 Bytes
Contents
module Katello class OrganizationsController < Katello::ApplicationController before_filter :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
22 entries across 22 versions & 1 rubygems