mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
BUGFIX: rails is choking on userpage_url for System user, breaks rss
This commit is contained in:
parent
9b57501bfc
commit
03619917f0
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
<author><%= "#{site_email} (@#{post.user.username}#{" #{post.user.name}" if post.user.name.present?})" -%></author>
|
||||
<description><![CDATA[
|
||||
<% post_url = Discourse.base_url + post.url %>
|
||||
<p><%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user))).html_safe %></p>
|
||||
<p><%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user.username_lower))).html_safe %></p>
|
||||
<blockquote>
|
||||
<%= post.cooked.html_safe %>
|
||||
</blockquote>
|
||||
|
|
Loading…
Reference in a new issue