forked from railsbridge/bridge_troll
-
Notifications
You must be signed in to change notification settings - Fork 0
Build the app
rutipo edited this page Feb 1, 2012
·
9 revisions
- create a new file, call it: "views/devise/menu/_login_items.html.erb"
file content:
<% if user_signed_in? %>
as described in: https://github.com/plataformatec/devise/wiki/How-To:-Add-sign_in,-sign_out,-and-sign_up-links-to-your-layout-template
-
add to the file: views/layout/application.html.erb the following content:
<%= render :partial => 'devise/menu/login_items' %>