debian-mirror-gitlab/app/services/milestones/reopen_service.rb

12 lines
230 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
module Milestones
class ReopenService < Milestones::BaseService
def execute(milestone)
if milestone.activate
event_service.reopen_milestone(milestone, current_user)
end
milestone
end
end
end