style check
This commit is contained in:
parent
438151ded7
commit
152e7cd31e
1 changed files with 2 additions and 2 deletions
|
@ -3,13 +3,13 @@ class RecapitulatifController < ApplicationController
|
||||||
@dossier = Dossier.find(params[:dossier_id])
|
@dossier = Dossier.find(params[:dossier_id])
|
||||||
@dossier = @dossier.decorate
|
@dossier = @dossier.decorate
|
||||||
|
|
||||||
#mettre dans le modèle
|
# mettre dans le modele
|
||||||
@commentaires = @dossier.commentaires.order(created_at: :desc)
|
@commentaires = @dossier.commentaires.order(created_at: :desc)
|
||||||
|
|
||||||
@commentaires = @commentaires.all.decorate
|
@commentaires = @commentaires.all.decorate
|
||||||
|
|
||||||
@commentaire_email = @dossier.mail_contact
|
@commentaire_email = @dossier.mail_contact
|
||||||
rescue
|
rescue
|
||||||
redirect_to url_for({controller: :start, action: :error_dossier})
|
redirect_to url_for(controller: :start, action: :error_dossier)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue