diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-12 09:50:54 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-12 09:50:54 +0100 |
commit | 0453d6d7ae72f0179d02ff5190122a86e304e1bb (patch) | |
tree | 7476883462fc6aa2e572b9d274acf2eda8f119f7 /app/models/blob.rb | |
parent | 6d2db33de43f20c314bee558919c1859e6f54d4a (diff) | |
download | gitlab-ce-0453d6d7ae72f0179d02ff5190122a86e304e1bb.tar.gz |
BE review changes
Diffstat (limited to 'app/models/blob.rb')
-rw-r--r-- | app/models/blob.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/blob.rb b/app/models/blob.rb index 91cf171a688..82333b6f369 100644 --- a/app/models/blob.rb +++ b/app/models/blob.rb @@ -63,7 +63,7 @@ class Blob < SimpleDelegator end def balsamiq? - binary? && extname.downcase.delete('.') == 'bmpr' + binary? && extension == 'bmpr' end def stl? |