diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb
index 94dabc79fe9bc6d8239ef3cc358cf1149c0e9cc8..d4e9f3f0bd40f698c477686315c2c193cf93f276 100644
--- a/app/controllers/posts_controller.rb
+++ b/app/controllers/posts_controller.rb
@@ -406,7 +406,8 @@ class PostsController < ApplicationController
       label: @post.parent.nil? ? @post.title : @post.parent.title,
       link: helpers.generic_show_link(@post),
       post: @post,
-      active: true
+      active: true,
+      community: RequestContext.community
     }
     @link = PinnedLink.create data