diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /config/routes/repository_scoped.rb | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'config/routes/repository_scoped.rb')
-rw-r--r-- | config/routes/repository_scoped.rb | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/config/routes/repository_scoped.rb b/config/routes/repository_scoped.rb deleted file mode 100644 index 7fabf3ff895..00000000000 --- a/config/routes/repository_scoped.rb +++ /dev/null @@ -1,41 +0,0 @@ -# frozen_string_literal: true - -# All routing related to repository browsing -# that is already under /-/ scope only - -# Don't use format parameter as file extension (old 3.0.x behavior) -# See http://guides.rubyonrails.org/routing.html#route-globbing-and-wildcard-segments -scope format: false do - scope constraints: { id: Gitlab::PathRegex.git_reference_regex } do - resources :network, only: [:show] - - resources :graphs, only: [:show] do - member do - get :charts - get :commits - get :ci - get :languages - end - end - - get '/branches/:state', to: 'branches#index', as: :branches_filtered, constraints: { state: /active|stale|all/ } - resources :branches, only: [:index, :new, :create, :destroy] do - get :diverging_commit_counts, on: :collection - end - - delete :merged_branches, controller: 'branches', action: :destroy_all_merged - resources :tags, only: [:index, :show, :new, :create, :destroy] do - resource :release, controller: 'tags/releases', only: [:edit, :update] - end - - resources :protected_branches, only: [:index, :show, :create, :update, :destroy, :patch], constraints: { id: Gitlab::PathRegex.git_reference_regex } - resources :protected_tags, only: [:index, :show, :create, :update, :destroy] - - scope constraints: { id: /[^\0]+?/ } do - scope controller: :static_site_editor do - get '/sse/:id(/*vueroute)', action: :show, as: :show_sse - get '/sse', as: :root_sse, action: :index - end - end - end -end |