Commit b31d1bc6fdaf41958b1302163efc96fea54747fb
1 parent
a068a1a8
Exists in
master
Workaround to fix error when vote in a proposal
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/ext/proposal.rb
... | ... | @@ -3,5 +3,6 @@ require_relative '../../../proposals_discussion/lib/proposals_discussion_plugin/ |
3 | 3 | class ProposalsDiscussionPlugin::Proposal |
4 | 4 | |
5 | 5 | validates :abstract, length: {maximum: 200}, if: proc { |a| a.environment.plugin_enabled?(DialogaPlugin)} |
6 | + has_merit | |
6 | 7 | |
7 | 8 | end | ... | ... |