Remove obsolete feature_maps? method
It isn't used since commit c34aa5412.
This commit is contained in:
@@ -4,9 +4,5 @@ module Mappable
|
|||||||
included do
|
included do
|
||||||
has_one :map_location, dependent: :destroy
|
has_one :map_location, dependent: :destroy
|
||||||
accepts_nested_attributes_for :map_location, allow_destroy: true, reject_if: :all_blank
|
accepts_nested_attributes_for :map_location, allow_destroy: true, reject_if: :all_blank
|
||||||
|
|
||||||
def feature_maps?
|
|
||||||
Setting["feature.map"].present?
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user