Make mappable 100 line length compliant
This commit is contained in:
@@ -13,7 +13,8 @@ module Mappable
|
|||||||
return true if skip_map?
|
return true if skip_map?
|
||||||
|
|
||||||
unless map_location.try(:available?)
|
unless map_location.try(:available?)
|
||||||
errors.add(:skip_map, I18n.t('activerecord.errors.models.map_location.attributes.map.invalid'))
|
skip_map_error = I18n.t('activerecord.errors.models.map_location.attributes.map.invalid')
|
||||||
|
errors.add(:skip_map, skip_map_error)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user