Skip to content

Commit

Permalink
use optional parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi authored Oct 14, 2024
1 parent 198f7dc commit 7d3898d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/jubla/event_participations_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://github.com/hitobito/hitobito_jubla.

module Jubla::EventParticipationsHelper
def event_participation_table_options(t, event)
def event_participation_table_options(t, event:, group:)
if can?(:index_participations_details, event)
t.col(t.sort_header(:originating_state, Person.human_attribute_name(:originating_state))) { |p| p.model.person.originating_state.to_s }
t.col(t.sort_header(:originating_flock, Person.human_attribute_name(:originating_flock))) { |p| p.model.person.originating_flock.to_s }
Expand Down

0 comments on commit 7d3898d

Please sign in to comment.