From 41dadcc349560127f5cc3190bb928efe4b3ce3ff Mon Sep 17 00:00:00 2001 From: riking Date: Mon, 25 Aug 2014 16:47:54 -0700 Subject: [PATCH] Fix local onebox subcategory urls --- lib/onebox/engine/discourse_local_onebox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/onebox/engine/discourse_local_onebox.rb b/lib/onebox/engine/discourse_local_onebox.rb index 153a14b506d..71a3afdcf26 100644 --- a/lib/onebox/engine/discourse_local_onebox.rb +++ b/lib/onebox/engine/discourse_local_onebox.rb @@ -59,7 +59,7 @@ module Onebox category = topic.category if category - category = "#{category.name}" + category = "#{category.name}" end quote = post.excerpt(SiteSetting.post_onebox_maxlength)