diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-11 23:51:31 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-11 23:51:31 -0800 |
commit | 319704451233f4abfbb0e4bcc9bb3e0a756f5eb1 (patch) | |
tree | 84bf4724b4079e05f6230ca4dcc88f9f41ed8532 /app/controllers/projects/tags_controller.rb | |
parent | 31bcd04711d448c016506897b8431273e3454faa (diff) | |
download | gitlab-ce-319704451233f4abfbb0e4bcc9bb3e0a756f5eb1.tar.gz |
Refactor push data builder. Moved it to separate class
Also execute GitLab CI on creating tag via UI
Diffstat (limited to 'app/controllers/projects/tags_controller.rb')
-rw-r--r-- | app/controllers/projects/tags_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/tags_controller.rb b/app/controllers/projects/tags_controller.rb index 162ddef0fec..64b820160d3 100644 --- a/app/controllers/projects/tags_controller.rb +++ b/app/controllers/projects/tags_controller.rb @@ -13,6 +13,7 @@ class Projects::TagsController < Projects::ApplicationController def create result = CreateTagService.new(@project, current_user). execute(params[:tag_name], params[:ref], params[:message]) + if result[:status] == :success @tag = result[:tag] redirect_to project_tags_path(@project) |