summaryrefslogtreecommitdiff
path: root/app/views/projects/blob
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-01-13 11:07:21 -0500
committerKushal Pandya <kushal@gitlab.com>2017-01-24 10:09:28 -0800
commitfa21471af626d1bfdb738e1a77e0d5b7fc3d85a3 (patch)
tree72d74b32f268127f5ce79f68bfe693e1e75b8bee /app/views/projects/blob
parenteeb68676331afeca4208084d0dcec81bc5e9472c (diff)
downloadgitlab-ce-fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3.tar.gz
HAMLLint: Fix `UnnecessaryInterpolation` offences
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r--app/views/projects/blob/_editor.html.haml2
-rw-r--r--app/views/projects/blob/_upload.html.haml2
2 files changed, 2 insertions, 2 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
diff --git a/app/views/projects/blob/_upload.html.haml b/app/views/projects/blob/_upload.html.haml
index 61a7ffdd0ab..4924c73cf8e 100644
--- a/app/views/projects/blob/_upload.html.haml
+++ b/app/views/projects/blob/_upload.html.haml
@@ -3,7 +3,7 @@
.modal-content
.modal-header
%a.close{ href: "#", "data-dismiss" => "modal" } ×
- %h3.page-title #{title}
+ %h3.page-title= title
.modal-body
= form_tag form_path, method: method, class: 'js-quick-submit js-upload-blob-form form-horizontal' do
.dropzone