rename type_champs into type_champ and change links/routes for procedure : use show instead of edit
This commit is contained in:
parent
9942525984
commit
5a422c75ac
21 changed files with 84 additions and 48 deletions
|
@ -42,7 +42,7 @@ Rails.application.routes.draw do
|
|||
namespace :admin do
|
||||
get 'sign_in' => '/administrateurs/sessions#new'
|
||||
resources :procedures do
|
||||
resource :types_de_champ, only: [:edit, :update]
|
||||
resource :types_de_champ, only: [:show, :update]
|
||||
resources :types_de_champ, only: [:destroy]
|
||||
resource :pieces_justificatives, only: [:edit, :update]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue