Skip to content

Commit

Permalink
change href for meetings when there is a project
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatarnejad committed Oct 9, 2024
1 parent d73125d commit 9faa63f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def breadcrumb_items
[
{ href: home_path, text: helpers.organization_name },
*([{ href: project_overview_path(@project.id), text: @project.name }] if @project.present?),
{ href: meetings_path(@project), text: I18n.t(:label_meeting_plural) },
{ href: @project.present? ? project_meetings_path(@project.id) : meetings_path, text: I18n.t(:label_meeting_plural) },
current_breadcrumb_element
]
end
Expand Down

0 comments on commit 9faa63f

Please sign in to comment.