summaryrefslogtreecommitdiff
path: root/app/views/projects/compare
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/compare
parenteeb68676331afeca4208084d0dcec81bc5e9472c (diff)
downloadgitlab-ce-fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3.tar.gz
HAMLLint: Fix `UnnecessaryInterpolation` offences
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r--app/views/projects/compare/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/compare/show.html.haml b/app/views/projects/compare/show.html.haml
index 819e9bc15ae..9c8f58d4aea 100644
--- a/app/views/projects/compare/show.html.haml
+++ b/app/views/projects/compare/show.html.haml
@@ -16,9 +16,9 @@
There isn't anything to compare.
%p.slead
- if params[:to] == params[:from]
- %span.label-branch #{params[:from]}
+ %span.label-branch= params[:from]
and
- %span.label-branch #{params[:to]}
+ %span.label-branch= params[:to]
are the same.
- else
You'll need to use different branch names to get a valid comparison.