diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-13 11:57:56 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-13 12:02:58 +0100 |
commit | 07d05d2df7d1b79406232e91a7354e0c7fd1877a (patch) | |
tree | 63a83b51f7d1488f66d48b438d87c247e0f05893 /app/controllers/projects | |
parent | 529188e4788991961796b1b6131389072ee61efb (diff) | |
download | gitlab-ce-07d05d2df7d1b79406232e91a7354e0c7fd1877a.tar.gz |
Move all event creation to EventCreateService.
Diffstat (limited to 'app/controllers/projects')
-rw-r--r-- | app/controllers/projects/tags_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/tags_controller.rb b/app/controllers/projects/tags_controller.rb index 64b820160d3..22eb8f67f9a 100644 --- a/app/controllers/projects/tags_controller.rb +++ b/app/controllers/projects/tags_controller.rb @@ -27,7 +27,7 @@ class Projects::TagsController < Projects::ApplicationController tag = @repository.find_tag(params[:id]) if tag && @repository.rm_tag(tag.name) - Event.create_ref_event(@project, current_user, tag, 'rm', 'refs/tags') + EventCreateService.new.push_ref(@project, current_user, tag, 'rm', 'refs/tags') end respond_to do |format| |