style check
This commit is contained in:
parent
5cc8c58e05
commit
756f5ffc50
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ class CommentairesController < ApplicationController
|
|||
@commentaire.save
|
||||
|
||||
if request.referer.include? '/recapitulatif'
|
||||
redirect_to url_for({controller: :recapitulatif, action: :show, :dossier_id => params['dossier_id']})
|
||||
redirect_to url_for(controller: :recapitulatif, action: :show, dossier_id: params['dossier_id'])
|
||||
else
|
||||
redirect_to url_for({controller: 'admin/dossier', action: :show, :dossier_id => params['dossier_id']})
|
||||
redirect_to url_for(controller: 'admin/dossier', action: :show, dossier_id: params['dossier_id'])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue