diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-15 18:13:41 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-15 18:13:41 +0000 |
commit | 87f4767e604a556291c531f8889b654d824245aa (patch) | |
tree | 41ea0a4cd610404102fb82e58c1a25d8117c5147 /app/controllers | |
parent | 5a13470a7935c2a31acdb4e85193721eb453a8a9 (diff) | |
parent | 613856face7f2ea58c229682a3acbba3e64be01b (diff) | |
download | gitlab-ce-87f4767e604a556291c531f8889b654d824245aa.tar.gz |
Merge branch 'move_tags_service_to_namespace' into 'master'
Move tag services to `Tags` namespace
See merge request !9231
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/tags_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/tags_controller.rb b/app/controllers/projects/tags_controller.rb index e2d9d5ed460..33379659d73 100644 --- a/app/controllers/projects/tags_controller.rb +++ b/app/controllers/projects/tags_controller.rb @@ -27,7 +27,7 @@ class Projects::TagsController < Projects::ApplicationController end def create - result = CreateTagService.new(@project, current_user). + result = Tags::CreateService.new(@project, current_user). execute(params[:tag_name], params[:ref], params[:message], params[:release_description]) if result[:status] == :success @@ -41,7 +41,7 @@ class Projects::TagsController < Projects::ApplicationController end def destroy - DeleteTagService.new(project, current_user).execute(params[:id]) + Tags::DestroyService.new(project, current_user).execute(params[:id]) respond_to do |format| format.html do |