Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix link for generating iCal token from meetings index

Klaus Zandersb2bb185a75d8
diff --git a/modules/meeting/app/components/meetings/index_page_header_component.html.erb b/modules/meeting/app/components/meetings/index_page_header_component.html.erb
index 68f4cca9b14..6e05000b7c4 100644
--- a/modules/meeting/app/components/meetings/index_page_header_component.html.erb
+++ b/modules/meeting/app/components/meetings/index_page_header_component.html.erb
@@ -12,7 +12,7 @@
) do |menu|
menu.with_item(
label: t("label_subscribe_icalendar"),
- href: dialog_my_access_tokens_path(token_type: "ical-meeting"),
+ href: dialog_my_access_tokens_path(token_type: Token::ICalMeeting.model_name.element),
content_arguments: { data: { turbo_stream: true } }
) do |item|
item.with_leading_visual_icon(icon: :rss)