Commit dcf65d5456bbf6d7f36e17d940a101f700205e92
1 parent
4059e2ce
Exists in
master
and in
11 other branches
proposals_discussion: disable the option to display older versions of a proposal
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
lib/proposals_discussion_plugin/proposal.rb
@@ -38,4 +38,8 @@ class ProposalsDiscussionPlugin::Proposal < TinyMceArticle | @@ -38,4 +38,8 @@ class ProposalsDiscussionPlugin::Proposal < TinyMceArticle | ||
38 | end | 38 | end |
39 | alias_method_chain :cache_key, :person | 39 | alias_method_chain :cache_key, :person |
40 | 40 | ||
41 | + def can_display_versions? | ||
42 | + false | ||
43 | + end | ||
44 | + | ||
41 | end | 45 | end |