Commit 94e4d75d authored by Luke Duncalfe's avatar Luke Duncalfe Committed by Kushal Pandya

Refactor designs route

parent d9e748d0
......@@ -500,6 +500,10 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
get :realtime_changes
post :create_merge_request
get :discussions, format: :json
Gitlab.ee do
get 'designs(/*vueroute)', to: 'issues#show', format: false
end
end
collection do
......
......@@ -72,13 +72,6 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
end
end
resources :issues, only: [], constraints: { id: /\d+/ } do
member do
get :designs, action: 'show'
get 'designs/*vueroute', action: 'show', format: false
end
end
resource :insights, only: [:show] do
collection do
post :query
......
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