Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
njaeggi committed Oct 10, 2024
1 parent 80b4610 commit ae85858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/pbs/event_participations_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def js_data_sharing_help_text(participation, for_someone_else)
end

def event_participation_table_options(t, event)
if @event.is_a?(Event::Camp)
table.col(Event::Participation.human_attribute_name(:state)) { |p| t("activerecord.attributes.event/camp.participation_states.#{p.state}") }
if event.is_a?(Event::Camp)
t.col(Event::Participation.human_attribute_name(:state)) { |p| t("activerecord.attributes.event/camp.participation_states.#{p.state}") }
end
end
end
Expand Down

0 comments on commit ae85858

Please sign in to comment.