app/commands/decidim/meetings/withdraw_meeting.rb in decidim-meetings-0.28.4 vs app/commands/decidim/meetings/withdraw_meeting.rb in decidim-meetings-0.29.0.rc1
- old
+ new
@@ -30,10 +30,10 @@
end
private
def change_meeting_state_to_withdrawn
- @meeting.update state: "withdrawn"
+ @meeting.withdraw!
end
end
end
end