Commit 9f76b847 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera Committed by Mark Chao

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

parent ba27f72f
......@@ -9,7 +9,7 @@ module Groups
feature_category :package_registry
def index
def show
end
private
......
......@@ -10,7 +10,7 @@ module Projects
feature_category :package_registry
def index
def show
end
private
......
......@@ -25,7 +25,7 @@ module GroupsHelper
applications#index
applications#show
applications#edit
packages_and_registries#index
packages_and_registries#show
groups/runners#show
groups/runners#edit
]
......
......@@ -680,7 +680,7 @@ module ProjectsHelper
operations#show
badges#index
pages#show
packages_and_registries#index
packages_and_registries#show
projects/runners#show
projects/runners#edit
]
......
......@@ -52,7 +52,7 @@ constraints(::Constraints::GroupUrlConstrainer.new) do
resources :applications
resources :packages_and_registries, only: [:index]
resource :packages_and_registries, only: [:show]
end
resource :variables, only: [:show, :update]
......
......@@ -130,7 +130,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
resources :packages_and_registries, only: [:index]
resource :packages_and_registries, only: [:show]
end
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