Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-14 22:27:24 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-19 15:30:12 +0300
commit667aba6f3b6443c11ab99043c692b446abf10460 (patch)
tree175434560c28e4d420505b4d3e38fb114f6db4e2 /app/controllers
parent8ae4b8619bdf3f8d966416624464d5f6408d1cd6 (diff)
Remove unused badges page and delete badges index controller action
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/badges_controller.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/projects/badges_controller.rb b/app/controllers/projects/badges_controller.rb
index 824aa41db51..a9f482c8787 100644
--- a/app/controllers/projects/badges_controller.rb
+++ b/app/controllers/projects/badges_controller.rb
@@ -3,11 +3,6 @@ class Projects::BadgesController < Projects::ApplicationController
before_action :authorize_admin_project!, only: [:index]
before_action :no_cache_headers, except: [:index]
- def index
- @ref = params[:ref] || @project.default_branch || 'master'
- @build_badge = Gitlab::Badge::Build.new(@project, @ref)
- end
-
def build
badge = Gitlab::Badge::Build.new(project, params[:ref])