mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
Add Attachment1
This commit is contained in:
@@ -31,9 +31,11 @@ Rails.application.routes.draw do
|
||||
resources :compose_projects, only: [:create, :destroy]
|
||||
end
|
||||
resources :attachments do
|
||||
member do
|
||||
post :preview_attachment
|
||||
end
|
||||
collection do
|
||||
delete :destroy_files
|
||||
post :preview_attachment
|
||||
end
|
||||
end
|
||||
get 'home/index'
|
||||
|
||||
Reference in New Issue
Block a user