Skip to content

Commit

Permalink
Merge pull request #1215 from SplitTime/oveson/finish-history-ui
Browse files Browse the repository at this point in the history
Add finish_history to Results dropdown
  • Loading branch information
moveson authored Jul 11, 2024
2 parents abe719b + d0fa564 commit d97eb92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/helpers/dropdown_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def results_dropdown_menu(view_object)
{ name: "Finishers",
link: summary_event_path(view_object.event, finished: true),
active: action_name == "summary" && params[:finished] == "true" },
{ name: "Finish history",
link: finish_history_event_path(view_object.event),
active: action_name == "finish_history" },
{ name: "Podium",
link: podium_event_path(view_object.event),
active: action_name == "podium" },
Expand Down

0 comments on commit d97eb92

Please sign in to comment.