summaryrefslogtreecommitdiff
path: root/config/routes
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-09-03 13:16:23 +0000
committerPhil Hughes <me@iamphill.com>2018-09-03 13:16:23 +0000
commit743add978aafa43862867a89b00a04e888199947 (patch)
treee2ff2db449f186d5c2dcb9da055d75851af6ab5a /config/routes
parentc0625e5de1fe491675aadf825fdb9e976f089409 (diff)
downloadgitlab-ce-743add978aafa43862867a89b00a04e888199947.tar.gz
Move badge settings to general settings
Diffstat (limited to 'config/routes')
-rw-r--r--config/routes/group.rb1
-rw-r--r--config/routes/project.rb1
2 files changed, 0 insertions, 2 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb
index d7313e43786..343865cc50c 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -25,7 +25,6 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
constraints: { group_id: Gitlab::PathRegex.full_namespace_route_regex }) do
namespace :settings do
resource :ci_cd, only: [:show], controller: 'ci_cd'
- resources :badges, only: [:index]
end
resource :variables, only: [:show, :update]
diff --git a/config/routes/project.rb b/config/routes/project.rb
index 34f49546983..4021d62b931 100644
--- a/config/routes/project.rb
+++ b/config/routes/project.rb
@@ -442,7 +442,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
resource :repository, only: [:show], controller: :repository do
post :create_deploy_token, path: 'deploy_token/create'
end
- resources :badges, only: [:index]
end
# Since both wiki and repository routing contains wildcard characters