Fix rubocop warnings
This commit is contained in:
parent
95eda2d381
commit
5b33f3f8e3
61 changed files with 547 additions and 541 deletions
|
@ -99,7 +99,7 @@ module BrowseHelper
|
|||
|
||||
private
|
||||
|
||||
ICON_TAGS = %w(aeroway amenity barrier building highway historic landuse leisure man_made natural railway shop tourism waterway).freeze
|
||||
ICON_TAGS = %w[aeroway amenity barrier building highway historic landuse leisure man_made natural railway shop tourism waterway].freeze
|
||||
|
||||
def icon_tags(object)
|
||||
object.tags.find_all { |k, _v| ICON_TAGS.include? k }.sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue