diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 45337ce7e..43e7459e7 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -26,7 +26,7 @@ <% if User.current.logged? || !Setting.login_required? %>
<%= link_to(l(:button_delete_my_account), {:controller => 'my', :action => 'destroy'}, :class => 'icon icon-del') %>
+<%= link_to(l(:button_delete_my_account), delete_my_account_path, :class => 'icon icon-del') %>
<% end %>