forked from jasder/forgeplus
修改附件下载报错的问题
This commit is contained in:
parent
fe4aefa3b6
commit
829a31ded7
|
@ -13,6 +13,11 @@ Rails.application.routes.draw do
|
|||
get 'auth/cas/callback', to: 'oauth/cas#create'
|
||||
|
||||
scope '/api' do
|
||||
resources :attachments do
|
||||
collection do
|
||||
delete :destroy_files
|
||||
end
|
||||
end
|
||||
resources :sync_forge, only: [:create] #同步用户
|
||||
resources :composes do
|
||||
resources :compose_projects, only: [:create, :destroy]
|
||||
|
@ -319,12 +324,6 @@ Rails.application.routes.draw do
|
|||
end
|
||||
|
||||
|
||||
resources :attachments do
|
||||
collection do
|
||||
delete :destroy_files
|
||||
end
|
||||
end
|
||||
|
||||
resources :repertoires, only: [:index]
|
||||
|
||||
scope module: :projects do
|
||||
|
|
Loading…
Reference in New Issue