diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-02 16:44:58 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-04 15:27:09 +0300 |
commit | 1b752968757873434404a2bf82ea360ce829ec87 (patch) | |
tree | bc48ee35c12bfa0f01cc9a0cc6dcdc21d27176d7 /app/helpers | |
parent | 892b02e890be539a95e6b52feb14f5d188513700 (diff) |
Fixed Linting errors + tests
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/lazy_image_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/lazy_image_tag_helper.rb b/app/helpers/lazy_image_tag_helper.rb index aea1fcc7e91..60df16b3373 100644 --- a/app/helpers/lazy_image_tag_helper.rb +++ b/app/helpers/lazy_image_tag_helper.rb @@ -9,7 +9,7 @@ module LazyImageTagHelper unless options.delete(:lazy) == false options[:data] ||= {} - unless options.delete(:use_original_source) == true + unless options.delete(:use_original_source) options[:data][:src] = path_to_image(source) else options[:data][:src] = source |