Commit 7218159ef7fdff4ea53f18e6dd151b1ea7629561

Authored by Victor Costa
1 parent ebb24f07

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 15 _('Proposal')
16 16 end
17 17  
18   - before_save do |article|
  18 + before_create do |article|
19 19 article.published = true
20 20 end
21 21  
... ...