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]
|
resources :compose_projects, only: [:create, :destroy]
|
||||||
end
|
end
|
||||||
resources :attachments do
|
resources :attachments do
|
||||||
|
member do
|
||||||
|
post :preview_attachment
|
||||||
|
end
|
||||||
collection do
|
collection do
|
||||||
delete :destroy_files
|
delete :destroy_files
|
||||||
post :preview_attachment
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
get 'home/index'
|
get 'home/index'
|
||||||
|
|
Loading…
Reference in New Issue