mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Convert server side paths to use /u/
This commit is contained in:
@ -103,7 +103,7 @@ class PostsController < ApplicationController
|
||||
|
||||
@posts = posts
|
||||
@title = "#{SiteSetting.title} - #{I18n.t("rss_description.user_posts", username: user.username)}"
|
||||
@link = "#{Discourse.base_url}/users/#{user.username}/activity"
|
||||
@link = "#{Discourse.base_url}/u/#{user.username}/activity"
|
||||
@description = I18n.t("rss_description.user_posts", username: user.username)
|
||||
render 'posts/latest', formats: [:rss]
|
||||
end
|
||||
|
Reference in New Issue
Block a user