Add 'visible_by_user' - review PR
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
This commit is contained in:
parent
b0df654346
commit
229ce67a5d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module Users
|
|||
@dossier_transfers = DossierTransfer.for_email(current_user.email).page(page)
|
||||
@statut = statut(@user_dossiers, @dossiers_traites, @dossiers_invites, @dossiers_supprimes_recemment, @dossiers_supprimes_definitivement, @dossier_transfers, @dossiers_close_to_expiration, params[:statut])
|
||||
|
||||
@last_dossier_editable = current_user.dossiers.last_editable
|
||||
@last_dossier_editable = current_user.dossiers.visible_by_user.last_editable
|
||||
end
|
||||
|
||||
def show
|
||||
|
|
Loading…
Reference in a new issue