diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-17 00:12:52 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-17 00:12:52 +0400 |
commit | 132caae73446e23a2ff8a7b1a4110efe42a36eb1 (patch) | |
tree | de590a467bfcc61a701d35a3b2acf774e6c07db4 /app/controllers/projects/repositories_controller.rb | |
parent | a165a0b23fd6cc81e7fc0163827310f69ce0399a (diff) |
Move repo tags to own controller. add ability to remove tags
Diffstat (limited to 'app/controllers/projects/repositories_controller.rb')
-rw-r--r-- | app/controllers/projects/repositories_controller.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/projects/repositories_controller.rb b/app/controllers/projects/repositories_controller.rb index 7094a4c1ffe..7e6c7016ecf 100644 --- a/app/controllers/projects/repositories_controller.rb +++ b/app/controllers/projects/repositories_controller.rb @@ -8,10 +8,6 @@ class Projects::RepositoriesController < Projects::ApplicationController @activities = @repository.commits_with_refs(20) end - def tags - @tags = @repository.tags - end - def stats @stats = Gitlab::Git::Stats.new(@repository.raw, @repository.root_ref) @graph = @stats.graph @@ -22,7 +18,6 @@ class Projects::RepositoriesController < Projects::ApplicationController render_404 and return end - storage_path = Rails.root.join("tmp", "repositories") file_path = @repository.archive_repo(params[:ref], storage_path) |