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
Allow redirect for keyboard shortcuts and help
Oliver Günther7d543501783b
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rbindex 3eb2c7b2885..6e16d01fcbd 100644--- a/app/controllers/help_controller.rb+++ b/app/controllers/help_controller.rb@@ -30,13 +30,13 @@ class HelpController < ApplicationControllerno_authorization_required! :keyboard_shortcuts, :text_formattingdef keyboard_shortcuts- redirect_to OpenProject::Static::Links[:shortcuts][:href]+ redirect_to OpenProject::Static::Links[:shortcuts][:href], allow_other_host: trueenddef text_formattingdefault_link = OpenProject::Static::Links[:text_formatting][:href]help_link = OpenProject::Configuration.force_formatting_help_link.presence || default_link- redirect_to help_link+ redirect_to help_link, allow_other_host: trueendend