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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix viewing version of meeting agenda/meetings
ulfertse11179452877
diff --git a/modules/meeting/app/controllers/meeting_contents_controller.rb b/modules/meeting/app/controllers/meeting_contents_controller.rbindex cc0ffb1f89f..207d64432b7 100644--- a/modules/meeting/app/controllers/meeting_contents_controller.rb+++ b/modules/meeting/app/controllers/meeting_contents_controller.rb@@ -44,7 +44,7 @@ class MeetingContentsController < ApplicationControllerbefore_action :authorizedef show- if params[:id].present? && @content.version == params[:id].to_i+ if params[:id].present? && @content.last_journal.version == params[:id].to_i# Redirect links to the last versionredirect_to controller: '/meetings',action: :show,