From 03619917f06fbcdcf1e29faa216ca6b3c7a260f5 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 12 Feb 2014 14:05:13 +1100 Subject: [PATCH] BUGFIX: rails is choking on userpage_url for System user, breaks rss --- app/views/topics/show.rss.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/topics/show.rss.erb b/app/views/topics/show.rss.erb index 61be3b86a..facdf9f01 100644 --- a/app/views/topics/show.rss.erb +++ b/app/views/topics/show.rss.erb @@ -18,7 +18,7 @@ <%= "#{site_email} (@#{post.user.username}#{" #{post.user.name}" if post.user.name.present?})" -%> -

<%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user))).html_safe %>

+

<%= t('author_wrote', author: link_to(post.user.name, userpage_url(post.user.username_lower))).html_safe %>

<%= post.cooked.html_safe %>