gitlab-org--gitlab-foss/app/services/commits/revert_service.rb
Rémy Coutable 0950d92df5
Reduce duplication in Commits::{CherryPickService,RevertService}
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-15 16:30:27 +02:00

7 lines
115 B
Ruby

module Commits
class RevertService < ChangeService
def commit
commit_change(:revert)
end
end
end