Safe call to flash text
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<div class="notice-text">
|
||||
<%= flash_message.html_safe %>
|
||||
<%= flash_message.try(:html_safe) %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user