diff options
Diffstat (limited to 'app/views/auth_sources')
-rw-r--r-- | app/views/auth_sources/index.html.erb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/auth_sources/index.html.erb b/app/views/auth_sources/index.html.erb index 3ce5c090c..045207a28 100644 --- a/app/views/auth_sources/index.html.erb +++ b/app/views/auth_sources/index.html.erb @@ -21,11 +21,7 @@ <td align="center"><%= h source.users.count %></td> <td class="buttons"> <%= link_to l(:button_test), {:action => 'test_connection', :id => source}, :class => 'icon icon-test' %> - <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, - :method => :delete, - :confirm => l(:text_are_you_sure), - :class => 'icon icon-del', - :disabled => source.users.any? %> + <%= delete_link auth_source_path(source) %> </td> </tr> <% end %> |