Commit 7218159ef7fdff4ea53f18e6dd151b1ea7629561
1 parent
ebb24f07
Exists in
master
and in
9 other branches
Set published to true
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/proposals_discussion_plugin/proposal.rb
@@ -15,7 +15,7 @@ class ProposalsDiscussionPlugin::Proposal < TinyMceArticle | @@ -15,7 +15,7 @@ class ProposalsDiscussionPlugin::Proposal < TinyMceArticle | ||
15 | _('Proposal') | 15 | _('Proposal') |
16 | end | 16 | end |
17 | 17 | ||
18 | - before_save do |article| | 18 | + before_create do |article| |
19 | article.published = true | 19 | article.published = true |
20 | end | 20 | end |
21 | 21 |