app/views/chaltron/users/index.html.erb in chaltron-0.2.2 vs app/views/chaltron/users/index.html.erb in chaltron-0.2.3
- old
+ new
@@ -11,15 +11,15 @@
data: {toggle: 'dropdown'}, aria: {expanded: false} do %>
<%= icon :plus, t('.new_user') %> <span class="caret"></span>
<% end %>
<ul class='dropdown-menu' role='menu'>
- <li><%= link_to t('.new_ldap_user'), ldap_search_url %></li>
- <li><%= link_to t('.new_local_user'), new_user_url %></li>
+ <li><%= link_to t('.new_ldap_user'), ldap_search_path %></li>
+ <li><%= link_to t('.new_local_user'), new_user_path %></li>
</ul>
</div>
<% else %>
- <%= link_to new_user_url, class: 'btn btn-primary pull-right' do %>
+ <%= link_to new_user_path, class: 'btn btn-primary pull-right' do %>
<%= icon :plus, t('.new_local_user') %>
<% end %>
<% end %>
</div>