diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-01-13 11:07:21 -0500 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-01-24 10:09:28 -0800 |
commit | fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3 (patch) | |
tree | 72d74b32f268127f5ce79f68bfe693e1e75b8bee /app/views/projects/blob/_editor.html.haml | |
parent | eeb68676331afeca4208084d0dcec81bc5e9472c (diff) | |
download | gitlab-ce-fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3.tar.gz |
HAMLLint: Fix `UnnecessaryInterpolation` offences
Diffstat (limited to 'app/views/projects/blob/_editor.html.haml')
-rw-r--r-- | app/views/projects/blob/_editor.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml index 1d058daa094..228ac61fc8c 100644 --- a/app/views/projects/blob/_editor.html.haml +++ b/app/views/projects/blob/_editor.html.haml @@ -34,7 +34,7 @@ = select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'select2' .file-editor.code - %pre.js-edit-mode-pane#editor #{params[:content] || local_assigns[:blob_data]} + %pre.js-edit-mode-pane#editor= params[:content] || local_assigns[:blob_data] - if local_assigns[:path] .js-edit-mode-pane#preview.hide .center |