Commit 7365d2c1 authored by Mark Chao's avatar Mark Chao

Merge branch...

Merge branch '329204-packages-registries-settings-refactor-to-use-show-action-instead-of-index' into 'master'

Packages & Registries settings: use `show` instead of `index`

See merge request gitlab-org/gitlab!60621
parents 1a2fe72b 9f76b847
...@@ -9,7 +9,7 @@ module Groups ...@@ -9,7 +9,7 @@ module Groups
feature_category :package_registry feature_category :package_registry
def index def show
end end
private private
......
...@@ -10,7 +10,7 @@ module Projects ...@@ -10,7 +10,7 @@ module Projects
feature_category :package_registry feature_category :package_registry
def index def show
end end
private private
......
...@@ -25,7 +25,7 @@ module GroupsHelper ...@@ -25,7 +25,7 @@ module GroupsHelper
applications#index applications#index
applications#show applications#show
applications#edit applications#edit
packages_and_registries#index packages_and_registries#show
groups/runners#show groups/runners#show
groups/runners#edit groups/runners#edit
] ]
......
...@@ -680,7 +680,7 @@ module ProjectsHelper ...@@ -680,7 +680,7 @@ module ProjectsHelper
operations#show operations#show
badges#index badges#index
pages#show pages#show
packages_and_registries#index packages_and_registries#show
projects/runners#show projects/runners#show
projects/runners#edit projects/runners#edit
] ]
......
...@@ -52,7 +52,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do ...@@ -52,7 +52,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
resources :applications resources :applications
resources :packages_and_registries, only: [:index] resource :packages_and_registries, only: [:show]
end end
resource :variables, only: [:show, :update] resource :variables, only: [:show, :update]
......
...@@ -130,7 +130,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do ...@@ -130,7 +130,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end end
end end
resources :packages_and_registries, only: [:index] resource :packages_and_registries, only: [:show]
end end
resources :autocomplete_sources, only: [] do resources :autocomplete_sources, only: [] do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment