Notices
Samples
Basic
0.3ms
335 allocs
Success Notice
Error Notice
View Source
<% flash.now[:notice] = "Success Notice" %>
<% flash.now[:error] = "Error Notice" %>
<%= render "shared/notices" %>
<% flash.now[:notice] = "Success Notice" %>
<% flash.now[:error] = "Error Notice" %>
<%= render "shared/notices" %>