feat(ruby): implement delete all files method

This commit is contained in:
Serik Ibragimov
2024-03-06 14:24:52 +05:00
parent 89f1c18d06
commit 8858c3c256
5 changed files with 68 additions and 14 deletions

View File

@ -39,7 +39,7 @@ class Application < Rails::Application
match '/files', to: 'home#files', via: 'get'
match '/index', to: 'home#index', via: 'get'
match '/reference', to: 'home#reference', via: 'post'
match '/remove', to: 'home#remove', via: 'get'
match '/remove', to: 'home#remove', via: 'delete'
match '/rename', to: 'home#rename', via: 'post'
match '/restore', to: 'home#restore', via: 'put'
match '/sample', to: 'home#sample', via: 'get'