From 152e7cd31ec4f1e4c0374552f377a37648517fc8 Mon Sep 17 00:00:00 2001 From: Tanguy PATTE Date: Thu, 20 Aug 2015 16:39:36 +0200 Subject: [PATCH] style check --- app/controllers/recapitulatif_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/recapitulatif_controller.rb b/app/controllers/recapitulatif_controller.rb index c5670277d..41ae4597d 100644 --- a/app/controllers/recapitulatif_controller.rb +++ b/app/controllers/recapitulatif_controller.rb @@ -3,13 +3,13 @@ class RecapitulatifController < ApplicationController @dossier = Dossier.find(params[:dossier_id]) @dossier = @dossier.decorate - #mettre dans le modèle + # mettre dans le modele @commentaires = @dossier.commentaires.order(created_at: :desc) @commentaires = @commentaires.all.decorate @commentaire_email = @dossier.mail_contact rescue - redirect_to url_for({controller: :start, action: :error_dossier}) + redirect_to url_for(controller: :start, action: :error_dossier) end end