diff options
Diffstat (limited to 'config/routes/group.rb')
-rw-r--r-- | config/routes/group.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/routes/group.rb b/config/routes/group.rb index 2a5931207b0..4a47b349665 100644 --- a/config/routes/group.rb +++ b/config/routes/group.rb @@ -121,8 +121,10 @@ constraints(::Constraints::GroupUrlConstrainer.new) do resource :dependency_proxy, only: [:show, :update] resources :email_campaigns, only: :index + resources :observability, only: :index + namespace :harbor do - resources :repositories, only: [:index] do + resources :repositories, only: [:index, :show], constraints: { id: %r{[a-zA-Z./:0-9_\-]+} } do resources :artifacts, only: [:index] do resources :tags, only: [:index] end |