adapt setting path on host mismatch partial

pull/8002/head
ulferts 5 years ago
parent 67cf588dfa
commit 3e35ff9583
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 4
      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 %>

Loading…
Cancel
Save