AutoCommit Sam Aug 1 15:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-01 15:03:01 +02:00
parent cc764f68af
commit ab0559a45c
9 changed files with 52 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
<h1>
<%= @neuigkeit.title%>
</h1>
<%= image_tag @neuigkeit.picture.big_thumb.url(only_path:false) %>
<%= content_tag(:img,"",src: "http://"+ActionMailer::Base.default_url_options[:host].to_s+@neuigkeit.picture.big_thumb.url) %>
<%=url_for controller: "neuigkeiten",action: :show, :id=>@neuigkeit.id, only_path: false %>
<%= raw(@neuigkeit.text) %>
<%= render partial:"survey/questions/mail", object: @neuigkeit.questions.first unless @neuigkeit.questions.empty?%>