diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-17 15:43:18 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-17 15:43:18 +0400 |
commit | 403638b8a00735632c060ab32cc0c1a64937b935 (patch) | |
tree | d5b94f820ac3977d7b8c033f6e48d37a0c96bc1f /app/controllers/projects/tags_controller.rb | |
parent | d2284b4112b31ae4e2301a8433bb64b40fdad80f (diff) |
Feature: add git tag via ui
Diffstat (limited to 'app/controllers/projects/tags_controller.rb')
-rw-r--r-- | app/controllers/projects/tags_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/projects/tags_controller.rb b/app/controllers/projects/tags_controller.rb index 55b2f5b1ae9..8a6b9a59fdd 100644 --- a/app/controllers/projects/tags_controller.rb +++ b/app/controllers/projects/tags_controller.rb @@ -12,7 +12,9 @@ class Projects::TagsController < Projects::ApplicationController end def create - # TODO: implement + @project.repository.add_tag(params[:tag_name], params[:ref]) + + redirect_to project_tags_path(@project) end def destroy |