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