summaryrefslogtreecommitdiff
path: root/app/services/milestones
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/milestones')
-rw-r--r--app/services/milestones/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/milestones/create_service.rb b/app/services/milestones/create_service.rb
index b8e08c9f1eb..3b90399af64 100644
--- a/app/services/milestones/create_service.rb
+++ b/app/services/milestones/create_service.rb
@@ -3,7 +3,7 @@ module Milestones
def execute
milestone = project.milestones.new(params)
- if milestone.save
+ if milestone.save!
event_service.open_milestone(milestone, current_user)
end