summaryrefslogtreecommitdiff
path: root/app/controllers/projects/refs_controller.rb
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-14 16:19:28 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-19 05:30:12 -0700
commit6445cec718fd9bcfd2944aab9f88c6760d27dcd4 (patch)
tree68d26cc08d0089fb4b945b877e1bcb0ab7b14838 /app/controllers/projects/refs_controller.rb
parent667aba6f3b6443c11ab99043c692b446abf10460 (diff)
downloadgitlab-ce-6445cec718fd9bcfd2944aab9f88c6760d27dcd4.tar.gz
Update badges path
Diffstat (limited to 'app/controllers/projects/refs_controller.rb')
-rw-r--r--app/controllers/projects/refs_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/refs_controller.rb b/app/controllers/projects/refs_controller.rb
index d79f16e6a5a..3b08573ca99 100644
--- a/app/controllers/projects/refs_controller.rb
+++ b/app/controllers/projects/refs_controller.rb
@@ -25,7 +25,7 @@ class Projects::RefsController < Projects::ApplicationController
when "graphs_commits"
commits_namespace_project_graph_path(@project.namespace, @project, @id)
when "badges"
- namespace_project_badges_path(@project.namespace, @project, ref: @id)
+ settings_namespace_project_builds_path(@project.namespace, @project, ref: @id)
else
namespace_project_commits_path(@project.namespace, @project, @id)
end