projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
End chapter 8
[depot.git]
/
app
/
views
/
layouts
/
store.html.erb
diff --git
a/app/views/layouts/store.html.erb
b/app/views/layouts/store.html.erb
index 7bd5325d42555b9ebe672c2d333b1960c732ffba..77e86d9e23e08684c1cbb69f3c329f337ed50fd0 100644
(file)
--- a/
app/views/layouts/store.html.erb
+++ b/
app/views/layouts/store.html.erb
@@
-19,6
+19,10
@@
<a href="http://www..../contact">Contact</a><br />
</div>
<div id="main">
+ <% if flash[:notice] -%>
+ <div id="notice"><%= flash[:notice] %></div>
+ <% end -%>
+
<%= yield :layout %>
</div>
</div>