summaryrefslogtreecommitdiffstats
path: root/app/views/my/_sidebar.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/_sidebar.html.erb')
-rw-r--r--app/views/my/_sidebar.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/my/_sidebar.html.erb b/app/views/my/_sidebar.html.erb
index 01ac5c6a5..cd4860796 100644
--- a/app/views/my/_sidebar.html.erb
+++ b/app/views/my/_sidebar.html.erb
@@ -10,12 +10,12 @@
<h4><%= l(:label_feeds_access_key) %></h4>
<p>
-<% if @user.rss_token %>
-<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.rss_token.created_on)) %>
+<% if @user.atom_token %>
+<%= l(:label_feeds_access_key_created_on, distance_of_time_in_words(Time.now, @user.atom_token.created_on)) %>
<% else %>
<%= l(:label_missing_feeds_access_key) %>
<% end %>
-(<%= link_to l(:button_reset), my_rss_key_path, :method => :post %>)
+(<%= link_to l(:button_reset), my_atom_key_path, :method => :post %>)
</p>
<% if Setting.rest_api_enabled? %>