mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-20 19:55:56 +08:00
add: trace controller and router
This commit is contained in:
@@ -677,6 +677,20 @@ Rails.application.routes.draw do
|
||||
end
|
||||
# Project Area END
|
||||
|
||||
namespace :trace do
|
||||
resources :trace_users, only: [:create]
|
||||
scope "/:owner/:repo" do
|
||||
resource :projects, path: '/', only: [:index] do
|
||||
member do
|
||||
post :tasks
|
||||
get :task_results
|
||||
get :reload_task
|
||||
get :task_pdf
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
scope module: :helps do
|
||||
resources :faqs, only: [:index]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user