forked from bofh/fetsite
fix neuigkeiten
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<ul class="unstyled linkbox-list" style="max-width:70em" id="neuigkeiten">
|
||||
<% @neuigkeiten.each do |n| %>
|
||||
<li><%= render n if can?(:show, n) %> </li>
|
||||
<li><%= render n %> </li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user