app/views/layouts/georgia/_header.html.erb in georgia-0.7.7 vs app/views/layouts/georgia/_header.html.erb in georgia-0.7.8
- old
+ new
@@ -18,20 +18,20 @@
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<% if can? :index, Georgia::User %>
<li>
- <%= link_to icon_tag('users'), users_path, class: 'header-link--icon' %>
+ <%= link_to icon_tag('users'), georgia.users_path, class: 'header-link--icon' %>
</li>
<% end -%>
<li class='dropdown'>
<%= link_to '#', class: 'dropdown-toggle header-link', data: {toggle: 'dropdown'} do %>
<%= image_tag avatar_url(current_user.email, size: 25), alt: '' %>
<span><%= current_user.name %></span>
<%= content_tag(:b, nil, class: 'caret') %>
<% end -%>
<ul class="dropdown-menu">
- <li><%= link_to('Logout', destroy_user_session_path, method: :delete) %></li>
+ <li><%= link_to('Logout', georgia.destroy_user_session_path, method: :delete) %></li>
</ul>
</li>
</ul>
</div>
<% end -%>
\ No newline at end of file