app/views/georgia/messages/destroy.js.erb in georgia_mailer-0.1.3 vs app/views/georgia/messages/destroy.js.erb in georgia_mailer-0.8.0
- old
+ new
@@ -1,3 +1,7 @@
+<% if @status_message and @status %>
+ new Flash('<%= @status_message %>', '<%= @status %>')
+<% end %>
+
<% @messages.each do |m| %>
$('tr#message_<%= m.id %>').remove()
<% end -%>
\ No newline at end of file