Move a comment to avoid a haml-lint MultilineScript warning

This commit is contained in:
gregoirenovel 2017-04-06 16:10:46 +02:00
parent 7a941d3219
commit 6cb53b5545

View file

@ -30,7 +30,8 @@
.col-lg-8
= render partial: 'users/description/pieces_justificatives', locals: { dossier: @dossier }
- route = Rails.application.routes.recognize_path(request.referrer) # WTF ?
-# WTF ?
- route = Rails.application.routes.recognize_path(request.referrer)
- unless route[:controller].match('admin')
%div{style: 'text-align:right'}
%h6 Tous les champs portant un * sont obligatoires.