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/compare | |
parent | eeb68676331afeca4208084d0dcec81bc5e9472c (diff) | |
download | gitlab-ce-fa21471af626d1bfdb738e1a77e0d5b7fc3d85a3.tar.gz |
HAMLLint: Fix `UnnecessaryInterpolation` offences
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r-- | app/views/projects/compare/show.html.haml | 4 |
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. |