routes: cleanup attachment routes
This commit is contained in:
parent
473ed00b6c
commit
8ceb555941
1 changed files with 1 additions and 2 deletions
|
@ -124,8 +124,7 @@ Rails.application.routes.draw do
|
||||||
put 'piece_justificative/:champ_id', to: 'piece_justificative#update', as: :piece_justificative
|
put 'piece_justificative/:champ_id', to: 'piece_justificative#update', as: :piece_justificative
|
||||||
end
|
end
|
||||||
|
|
||||||
get 'attachments/:id', to: 'attachments#show', as: :attachment
|
resources :attachments, only: [:show, :destroy]
|
||||||
delete 'attachments/:id', to: 'attachments#destroy'
|
|
||||||
|
|
||||||
get "patron" => "root#patron"
|
get "patron" => "root#patron"
|
||||||
get "accessibilite" => "root#accessibilite"
|
get "accessibilite" => "root#accessibilite"
|
||||||
|
|
Loading…
Add table
Reference in a new issue