mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Convert server side paths to use /u/
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<category><%= topic.category.name %></category>
|
||||
<description><![CDATA[
|
||||
<% if username.present? %>
|
||||
<p><%= t('author_wrote', author: link_to("@#{username}", "#{Discourse.base_url}/users/#{topic.user.username_lower}")).html_safe %></p>
|
||||
<p><%= t('author_wrote', author: link_to("@#{username}", "#{Discourse.base_url}/u/#{topic.user.username_lower}")).html_safe %></p>
|
||||
<% end %>
|
||||
<blockquote>
|
||||
<%= topic.posts.first.cooked.html_safe %>
|
||||
|
||||
Reference in New Issue
Block a user