We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c71e2d2 commit dfa708dCopy full SHA for dfa708d
app/views/layouts/rails_admin/pjax.html.haml
@@ -6,7 +6,7 @@
6
.page-header
7
%h1= @page_name
8
- flash && flash.each do |key, value|
9
- - key = 'danger' if key == 'error'
+ - key = 'danger' if key.to_s == 'error'
10
.alert{class: "alert-#{key}"}
11
%a.close{href: '#', :'data-dismiss' => "alert"} ×
12
= value
0 commit comments