Remove obsolete feature_maps? method

It isn't used since commit c34aa5412.
This commit is contained in:
Javi Martín
2022-05-02 20:31:50 +02:00
parent e8b33ae25b
commit 8befe55ba1

View File

@@ -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