Commit cfa91b4a9ccde0d9a9d464b50f5f627447d70345
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'AI3220_proposals' into stable
Showing
2 changed files
with
8 additions
and
0 deletions
Show diff stats
plugins/proposals_discussion/lib/proposals_discussion_plugin/discussion.rb
@@ -35,4 +35,8 @@ class ProposalsDiscussionPlugin::Discussion < Folder | @@ -35,4 +35,8 @@ class ProposalsDiscussionPlugin::Discussion < Folder | ||
35 | ProposalsDiscussionPlugin::Proposal.from_discussion(self) | 35 | ProposalsDiscussionPlugin::Proposal.from_discussion(self) |
36 | end | 36 | end |
37 | 37 | ||
38 | + def accept_comments? | ||
39 | + accept_comments | ||
40 | + end | ||
41 | + | ||
38 | end | 42 | end |
plugins/proposals_discussion/lib/proposals_discussion_plugin/topic.rb
@@ -67,4 +67,8 @@ class ProposalsDiscussionPlugin::Topic < Folder | @@ -67,4 +67,8 @@ class ProposalsDiscussionPlugin::Topic < Folder | ||
67 | end | 67 | end |
68 | alias_method_chain :cache_key, :person | 68 | alias_method_chain :cache_key, :person |
69 | 69 | ||
70 | + def accept_comments? | ||
71 | + accept_comments | ||
72 | + end | ||
73 | + | ||
70 | end | 74 | end |