stop using get_liste_piece_jointe
This commit is contained in:
parent
bf0164b4c7
commit
3a92e727ed
2 changed files with 5 additions and 8 deletions
|
@ -11,7 +11,7 @@ class Admin::DossierController < ApplicationController
|
|||
@commentaire_email = current_user.email
|
||||
|
||||
@formulaire = @dossier.formulaire
|
||||
@liste_pieces_jointes = TypePieceJointe.get_liste_piece_jointe @dossier.formulaire
|
||||
@liste_pieces_jointes = @dossier.types_piece_jointe
|
||||
@array_id_pj_valides = PieceJointe.get_array_id_pj_valid_for_dossier @dossier.id
|
||||
@dossier = @dossier.decorate
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue