diff app/views/layouts/application.html.erb @ 385:62fef621f39c

Move alerts to layout.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 10:13:25 +0900
parents bfc5ad3f7dc5
children bf9e350f8a2b
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb	Sun Jun 07 02:59:29 2015 +0900
+++ b/app/views/layouts/application.html.erb	Sun Jun 07 10:13:25 2015 +0900
@@ -17,6 +17,8 @@
     </header>
 
     <main>
+      <%= render "layouts/alerts" %>
+
       <%= yield %>
     </main>