Commit 22d74645

mo k <m@mokhan.ca>
2011-12-09 05:05:18
hide the welcome banner if you are signed in.
1 parent 292fa0d
Changed files (1)
app
views
app/views/home/index.html.erb
@@ -2,9 +2,11 @@
   Welcome to the CakeSide
 <% end %>
 
+<% if !user_signed_in? %>
 <div class="hero-unit">
   <h1>Hello, cake enthusiast!</h1>
   <p>Interested in making cakes, eating cakes, or celebrating cakes? Then you came to the right place.</p>
   <p><a href="<%= url_for new_user_session_path %>" class="btn primary large">Learn more &raquo;</a></p>
 </div>
+<% end %>
 <%= render "shared/creation_image_gallery" %>