From 52b1d13af7465a5f0360afcca0f0aa64b013c1c4 Mon Sep 17 00:00:00 2001 From: tms Date: Mon, 11 Mar 2013 08:29:12 -0400 Subject: [PATCH] Always allow reply as new topic, for users who can reply as new topic --- app/serializers/topic_view_serializer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/serializers/topic_view_serializer.rb b/app/serializers/topic_view_serializer.rb index 9e7fa407862..25e408b810d 100644 --- a/app/serializers/topic_view_serializer.rb +++ b/app/serializers/topic_view_serializer.rb @@ -103,11 +103,11 @@ class TopicViewSerializer < ApplicationSerializer end def can_reply_as_new_topic - scope.can_reply_as_new_topic?(object.topic) + true end def include_can_reply_as_new_topic? - scope.can_create?(Post, object.topic) + scope.can_reply_as_new_topic?(object.topic) end def can_create_post