diff --git a/app/views/list/list.rss.erb b/app/views/list/list.rss.erb
index a9c949c1498..eaf7c608bbb 100644
--- a/app/views/list/list.rss.erb
+++ b/app/views/list/list.rss.erb
@@ -2,22 +2,21 @@
<%= t('author_wrote', author: link_to(topic.user.name, userpage_url(topic.user))).html_safe %>
<%= topic.posts.first.cooked.html_safe %>diff --git a/app/views/topics/show.rss.erb b/app/views/topics/show.rss.erb index 85d1e2e5750..61be3b86ada 100644 --- a/app/views/topics/show.rss.erb +++ b/app/views/topics/show.rss.erb @@ -3,23 +3,22 @@
<%= t('author_wrote', author: link_to(post.user.name, post.user)).html_safe %>
+<%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user))).html_safe %>
<%= post.cooked.html_safe %>diff --git a/config/routes.rb b/config/routes.rb index d91aa179362..36fb3dbcf24 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -140,7 +140,7 @@ Discourse::Application.routes.draw do get 'user_preferences' => 'users#user_preferences_redirect' get 'users/:username/private-messages' => 'user_actions#private_messages', constraints: {username: USERNAME_ROUTE_FORMAT} get 'users/:username/private-messages/:filter' => 'user_actions#private_messages', constraints: {username: USERNAME_ROUTE_FORMAT} - get 'users/:username' => 'users#show', constraints: {username: USERNAME_ROUTE_FORMAT} + get 'users/:username' => 'users#show', as: 'userpage', constraints: {username: USERNAME_ROUTE_FORMAT} put 'users/:username' => 'users#update', constraints: {username: USERNAME_ROUTE_FORMAT} get 'users/:username/preferences' => 'users#preferences', constraints: {username: USERNAME_ROUTE_FORMAT}, as: :email_preferences get 'users/:username/preferences/email' => 'users#preferences', constraints: {username: USERNAME_ROUTE_FORMAT}