Add Attachment1
This commit is contained in:
parent
1fcf540dfc
commit
47c147c263
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue