mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Upgrade rubocop and style guide for ruby 2.7 compatibility
This commit is contained in:
@@ -60,7 +60,7 @@ module ShopFilter
|
||||
|
||||
case style
|
||||
when 'original'
|
||||
return '/files/shops/random_number/' + url
|
||||
'/files/shops/random_number/' + url
|
||||
when 'grande', 'large', 'medium', 'compact', 'small', 'thumb', 'icon'
|
||||
"/files/shops/random_number/products/#{Regexp.last_match(1)}_#{style}.#{Regexp.last_match(2)}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user