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

adapt setting path on host mismatch partial

ulferts3e35ff9583fc
diff --git a/app/views/warning_bar/_host_and_protocol_mismatch.html.erb b/app/views/warning_bar/_host_and_protocol_mismatch.html.erb
index fe74f386bca..3aca9cfa9e5 100644
--- a/app/views/warning_bar/_host_and_protocol_mismatch.html.erb
+++ b/app/views/warning_bar/_host_and_protocol_mismatch.html.erb
@@ -8,7 +8,7 @@
<%= t 'warning_bar.protocol_mismatch.text_html',
set_protocol: Setting.protocol,
actual_protocol: request.ssl? ? 'https' : 'http',
- setting_path: settings_path
+ setting_path: general_settings_path
%>
</p>
<% end %>
@@ -20,7 +20,7 @@
<%= t 'warning_bar.hostname_mismatch.text_html',
set_hostname: Setting.host_name,
actual_hostname: request.host,
- setting_path: settings_path
+ setting_path: general_settings_path
%>
</p>
<% end %>