Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
devise
<!--
Used for https://github.com/rubykurs/bootstrap
branch auth
@Gemfile
gem 'devise'
$ rails g devise:install
$ rails g devise admin
$ rake db:migrate
-->
<ul class="nav secondary-nav">
<% if admin_signed_in? %>
<li><%= link_to "Sign out", destroy_admin_session_path, :method => :delete %> </li>
<% else %>
<li><%= link_to "Admin", new_admin_session_path %></li>
<% end %>
</ul>
<!--
or common/_header.html.erb if body header is extracted there.
-->
<div class="topbar">
<div class="fill">
<div class="container">
...
<%= render :partial => 'common/admin_menu' %>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.