Revert "Revert "Fix middle-click on "Delete attachment" button""
This reverts commit 6e8bd6957f
.
This commit is contained in:
parent
d2811bdf73
commit
7e19dd2cda
3 changed files with 49 additions and 5 deletions
|
@ -124,8 +124,7 @@ Rails.application.routes.draw do
|
|||
put 'piece_justificative/:champ_id', to: 'piece_justificative#update', as: :piece_justificative
|
||||
end
|
||||
|
||||
get 'attachments/:id', to: 'attachments#show', as: :attachment
|
||||
delete 'attachments/:id', to: 'attachments#destroy'
|
||||
resources :attachments, only: [:show, :destroy]
|
||||
|
||||
get "patron" => "root#patron"
|
||||
get "accessibilite" => "root#accessibilite"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue