Skip to content

Commit

Permalink
remove public_send
Browse files Browse the repository at this point in the history
  • Loading branch information
KludgeKML committed Feb 6, 2024
1 parent d154cdd commit 4c1f5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/local_links_manager/export/links_exporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def records
private

def links(local_authority_id, status)
Link.enabled_links.public_send(status)
.where(local_authority_id:)
Link.enabled_links
.where(local_authority_id:, status:)
.joins(:local_authority, :service, :interaction)
.select(*SELECTION)
.order("services.lgsl_code", "interactions.lgil_code").all
Expand Down

0 comments on commit 4c1f5a1

Please sign in to comment.