Skip to content

Commit 7707eeb

Browse files
make a test fail
1 parent 64f33ed commit 7707eeb

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

app/controllers/case_contacts_controller.rb

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)