2015-02-15 17:10:17 +01:00
|
|
|
# Helper for the orga views
|
|
|
|
module OrgasHelper
|
|
|
|
def set_orga_meta
|
|
|
|
set_meta_tags \
|
2016-01-10 15:38:30 +01:00
|
|
|
description: strip_tags(@orga.description),
|
2015-02-15 17:10:17 +01:00
|
|
|
DC: { title: @orga.name },
|
|
|
|
geo: {
|
|
|
|
placename: @orga.city,
|
2016-04-09 16:06:22 +02:00
|
|
|
region: @orga.region,
|
|
|
|
position: "#{@orga.latitude};#{@orga.longitude}",
|
|
|
|
ICBM: "#{@orga.latitude}, #{@orga.longitude}"
|
2015-02-15 17:10:17 +01:00
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|