diff --git a/app/views/themen/show.html.erb b/app/views/themen/show.html.erb index af06bba..692df6f 100644 --- a/app/views/themen/show.html.erb +++ b/app/views/themen/show.html.erb @@ -10,7 +10,7 @@ } %> -<%= +<% unless @thema.titlepics.first.nil? picture_url=URI(root_url) picture_url.path=@thema.titlepics.first.datei.url(:locale=>nil, :theme=>nil)