app/views/layouts/_top_bar.html.erb in adminpanel-0.0.5 vs app/views/layouts/_top_bar.html.erb in adminpanel-0.0.6
- old
+ new
@@ -29,15 +29,14 @@
<div class="top-menu visible-phone visible-tablet">
<ul class="pull-right">
<li>
<% if signed_in? %>
- <%= link_to content_tag('i', nil, :class => 'icon-off'), signout_path, :method => "delete", :title => 'Logout'%>
- <% else %>
- <%= link_to content_tag('i', nil, :class => 'icon-off'), signin_path, :title => 'Login' %>
+ <%= link_to content_tag('i', nil, :class => 'icon-off'), signout_path, :method => "delete", :title => 'Logout', :id => "signout-button" %>
<% end %>
</li>
</ul>
</div>
+
</div>
</div>
</div>
\ No newline at end of file