FIX Neuigkeiten New

This commit is contained in:
Andreas Stephanides
2013-08-15 12:55:02 +02:00
parent 97b28fdc65
commit 5eb9e41c71
3 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<h2><%= link_to neuigkeit.title,neuigkeit_path(neuigkeit) %></h2>
<%= if !neuigkeit.author.nil?
neuigkeit.author.name
neuigkeit.author.email
end %>
<p><%= raw(neuigkeit.text) %></p>