Skip to content

Commit

Permalink
display maintenance message with raw
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 30, 2024
1 parent db32211 commit 17abdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="container shadow-lg rounded-3 border p-4 p-md-5 my-md-3">
<% if AppSettings.app_maintenance == "true" %>
<div class="alert alert-warning text-center" role="alert">
<strong>Attention:</strong> <%= AppSettings.app_maintenance_message %>
<%= raw(AppSettings.app_maintenance_message) %>
</div>
<% end %>
<header>
Expand Down

0 comments on commit 17abdda

Please sign in to comment.