2015-02-15 17:10:17 +01:00
|
|
|
# Helper for the orga views
|
|
|
|
module OrgasHelper
|
|
|
|
def set_orga_meta
|
|
|
|
set_meta_tags \
|
|
|
|
description: @orga.url,
|
|
|
|
DC: { title: @orga.name },
|
|
|
|
geo: {
|
|
|
|
region: @orga.region,
|
|
|
|
placename: @orga.city,
|
2015-04-18 17:24:15 +02:00
|
|
|
position: "#{@orga.city.try :latitude}; #{@orga.city.try :longitude}"
|
2015-02-15 17:10:17 +01:00
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|