Skip to content
This repository was archived by the owner on May 1, 2019. It is now read-only.

Commit 4a98dab

Browse files
committed
Update active_admin_logged_out
1 parent e6f83c0 commit 4a98dab

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/views/layouts/active_admin_logged_out.html.erb

+2-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@
2323
<div id="wrapper">
2424

2525
<div id="content_wrapper">
26-
<% if active_admin_flash_messages.any? %>
27-
<% active_admin_flash_messages.each do |type, message| %>
28-
<%= content_tag :div, message, :class => "flash flash_#{type}" %>
29-
<% end %>
26+
<% flash.each do |type, message| %>
27+
<%= content_tag :div, message, class: "flash flash_#{type}" %>
3028
<% end %>
3129
<div id="active_admin_content">
3230
<%= yield %>

0 commit comments

Comments
 (0)