fix DoubleRender error for brouillon pdf
This commit is contained in:
parent
5bd4c16de8
commit
1c3573c7db
2 changed files with 10 additions and 3 deletions
|
@ -33,6 +33,7 @@ module Users
|
|||
def show
|
||||
if dossier.brouillon?
|
||||
redirect_to brouillon_dossier_path(dossier)
|
||||
return
|
||||
end
|
||||
|
||||
@dossier = dossier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue