fix neuigkeiten

This commit is contained in:
2015-03-03 18:12:22 +01:00
parent 8718a77e4f
commit 0d6e11299a
6 changed files with 17 additions and 7 deletions

View File

@@ -4,8 +4,10 @@
<%
if @openfotoid.nil? || @openfotoid==0
@firstfoto= @fotos_p.first
unless @firstfoto.nil?
picture_url=URI(root_url)
picture_url.path=@firstfoto.datei.url(:locale=>nil, :theme=>nil)
end
set_meta_tags :og => {
:image => picture_url.to_s,
:title => @gallery.name.to_s,