From 486a4dfbc82a5ffc5dd89f94bb44edd5a7f127cd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 15 Oct 2015 18:45:09 +0000 Subject: Named routed for RSS/API keys (#20997). git-svn-id: http://svn.redmine.org/redmine/trunk@14677 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/_sidebar.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views') diff --git a/app/views/my/_sidebar.html.erb b/app/views/my/_sidebar.html.erb index 7f0aefa16..e372425aa 100644 --- a/app/views/my/_sidebar.html.erb +++ b/app/views/my/_sidebar.html.erb @@ -15,13 +15,13 @@ <% else %> <%= l(:label_missing_feeds_access_key) %> <% end %> -(<%= link_to l(:button_reset), {:action => 'reset_rss_key'}, :method => :post %>) +(<%= link_to l(:button_reset), my_rss_key_path, :method => :post %>)

<% if Setting.rest_api_enabled? %>

<%= l(:label_api_access_key) %>

- <%= link_to l(:button_show), {:action => 'show_api_key'}, :remote => true %> + <%= link_to l(:button_show), my_api_key_path, :remote => true %>

 
<%= javascript_tag("$('#api-access-key').hide();") %> @@ -31,6 +31,6 @@ <% else %> <%= l(:label_missing_api_access_key) %> <% end %> -(<%= link_to l(:button_reset), {:action => 'reset_api_key'}, :method => :post %>) +(<%= link_to l(:button_reset), my_api_key_path, :method => :post %>)

<% end %> -- cgit v1.2.3