From 8befe55ba173ec00fe9761b4d65daa93f99d1a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 2 May 2022 20:31:50 +0200 Subject: [PATCH] Remove obsolete feature_maps? method It isn't used since commit c34aa5412. --- app/models/concerns/mappable.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/concerns/mappable.rb b/app/models/concerns/mappable.rb index 4b2dbbb53..356a38231 100644 --- a/app/models/concerns/mappable.rb +++ b/app/models/concerns/mappable.rb @@ -4,9 +4,5 @@ module Mappable included do has_one :map_location, dependent: :destroy accepts_nested_attributes_for :map_location, allow_destroy: true, reject_if: :all_blank - - def feature_maps? - Setting["feature.map"].present? - end end end