File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -7,22 +7,22 @@ class CaseContactsController < ApplicationController
77 after_action :verify_authorized , except : %i[ leave ]
88
99 def index
10- authorize CaseContact
11-
12- @current_organization_groups = current_organization_groups
13-
14- @filterrific = initialize_filterrific (
15- all_case_contacts ,
16- params [ :filterrific ] ,
17- select_options : {
18- sorted_by : CaseContact . options_for_sorted_by
19- }
20- ) || return
21-
22- case_contacts = CaseContact . case_hash_from_cases ( @filterrific . find )
23- case_contacts = case_contacts . select { |k , _v | k == params [ :casa_case_id ] . to_i } if params [ :casa_case_id ] . present?
24-
25- @presenter = CaseContactPresenter . new ( case_contacts )
10+ # authorize CaseContact
11+ #
12+ # @current_organization_groups = current_organization_groups
13+ #
14+ # @filterrific = initialize_filterrific(
15+ # all_case_contacts,
16+ # params[:filterrific],
17+ # select_options: {
18+ # sorted_by: CaseContact.options_for_sorted_by
19+ # }
20+ # ) || return
21+ #
22+ # case_contacts = CaseContact.case_hash_from_cases(@filterrific.find)
23+ # case_contacts = case_contacts.select { |k, _v| k == params[:casa_case_id].to_i } if params[:casa_case_id].present?
24+ #
25+ # @presenter = CaseContactPresenter.new(case_contacts)
2626 end
2727
2828 def drafts
You can’t perform that action at this time.
0 commit comments