Move a comment to avoid a haml-lint MultilineScript warning
This commit is contained in:
parent
7a941d3219
commit
6cb53b5545
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue