diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-04-05 11:51:19 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-04-07 10:59:24 -0300 |
commit | 0bef4b97647893df8cf0a781f768b1775ae2bb58 (patch) | |
tree | c72043d7b4263efd229d93329237a60d0e0684da /app/services/milestones | |
parent | 32c7e42b612bdda43eeef55d8c8afdc9eeb33785 (diff) | |
download | gitlab-ce-0bef4b97647893df8cf0a781f768b1775ae2bb58.tar.gz |
Implement review suggestions
Diffstat (limited to 'app/services/milestones')
-rw-r--r-- | app/services/milestones/create_service.rb | 2 |
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 |