Commit 5cbdca6beeb36c69b4126acdd48d69a926484ee4
1 parent
e205320f
Exists in
master
and in
11 other branches
proposals_discussion: allow comments in topic and discussion
Showing
2 changed files
with
8 additions
and
0 deletions
Show diff stats
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 |
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 |