diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-15 18:45:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-15 18:45:09 +0000 |
commit | 486a4dfbc82a5ffc5dd89f94bb44edd5a7f127cd (patch) | |
tree | 3c0248f0299ad092dd3e6b9dec67db6c340a5d1f /app/views/my/_sidebar.html.erb | |
parent | bae4b1985d921d50799da8108657d4432a7f34f7 (diff) | |
download | redmine-486a4dfbc82a5ffc5dd89f94bb44edd5a7f127cd.tar.gz redmine-486a4dfbc82a5ffc5dd89f94bb44edd5a7f127cd.zip |
Named routed for RSS/API keys (#20997).
git-svn-id: http://svn.redmine.org/redmine/trunk@14677 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/_sidebar.html.erb')
-rw-r--r-- | app/views/my/_sidebar.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
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 %>) </p> <% if Setting.rest_api_enabled? %> <h4><%= l(:label_api_access_key) %></h4> <div> - <%= link_to l(:button_show), {:action => 'show_api_key'}, :remote => true %> + <%= link_to l(:button_show), my_api_key_path, :remote => true %> <pre id='api-access-key' class='autoscroll'></pre> </div> <%= 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 %>) </p> <% end %> |