summaryrefslogtreecommitdiff
path: root/app/controllers/projects/badges_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/badges_controller.rb')
-rw-r--r--app/controllers/projects/badges_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/badges_controller.rb b/app/controllers/projects/badges_controller.rb
index 6e442d66adc..9dff74c823b 100644
--- a/app/controllers/projects/badges_controller.rb
+++ b/app/controllers/projects/badges_controller.rb
@@ -5,7 +5,7 @@ class Projects::BadgesController < Projects::ApplicationController
def index
@ref = params[:ref] || 'master'
- @badge = Gitlab::Badge::Build.new(@project, @ref)
+ @build_badge = Gitlab::Badge::Build.new(@project, @ref)
end
def build