diff --git a/app/models/location.rb b/app/models/location.rb index f0fe2a20..2af86f92 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -6,6 +6,13 @@ class Location field :type_of, :type => String field :description, :type => String + # Map + has_attached_file :map, styles: { + thumb: '200x200>', + square: '300x300#', + medium: '400x400>' + } + # Culture field :population, :type => String field :language, :type => String