This commit is contained in:
parent
4329236237
commit
39a851b74b
|
@ -451,7 +451,7 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
namespace :traces do
|
namespace :traces do
|
||||||
resources :trace_users, only: [:create]
|
resources :trace_users, only: [:create]
|
||||||
scope "/:owner/:repo", constraints: { repo: /[^\/|.json]+/ } do
|
scope "/:owner/:repo", constraints: { repo: /[^\/]+/ } do
|
||||||
resource :projects, path: '/', only: [:index] do
|
resource :projects, path: '/', only: [:index] do
|
||||||
member do
|
member do
|
||||||
post :tasks
|
post :tasks
|
||||||
|
@ -464,7 +464,7 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Project Area START
|
# Project Area START
|
||||||
scope "/:owner/:repo",constraints: { repo: /[^\/|.json]+/ } do
|
scope "/:owner/:repo",constraints: { repo: /[^\/]+/ } do
|
||||||
scope do
|
scope do
|
||||||
get(
|
get(
|
||||||
'/activity',
|
'/activity',
|
||||||
|
|
|
@ -18,7 +18,7 @@ defaults format: :json do
|
||||||
resources :feedbacks, only: [:create]
|
resources :feedbacks, only: [:create]
|
||||||
end
|
end
|
||||||
|
|
||||||
scope ':repo', constraints: { repo: /[^\/|.json]+/ } do
|
scope ':repo', constraints: { repo: /[^\/]+/ } do
|
||||||
# projects
|
# projects
|
||||||
resource :projects, path: '/', only: [:show, :update, :edit, :destroy] do
|
resource :projects, path: '/', only: [:show, :update, :edit, :destroy] do
|
||||||
collection do
|
collection do
|
||||||
|
|
Loading…
Reference in New Issue