Revert "Fix middle-click on "Delete attachment" button"

This commit is contained in:
Pierre de La Morinerie 2020-04-08 17:40:58 +02:00 committed by GitHub
parent b290564df2
commit 6e8bd6957f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 49 deletions

View file

@ -124,7 +124,8 @@ Rails.application.routes.draw do
put 'piece_justificative/:champ_id', to: 'piece_justificative#update', as: :piece_justificative
end
resources :attachments, only: [:show, :destroy]
get 'attachments/:id', to: 'attachments#show', as: :attachment
delete 'attachments/:id', to: 'attachments#destroy'
get "patron" => "root#patron"
get "accessibilite" => "root#accessibilite"