AutoCommit Mon Jun 8 18:03:05 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-06-08 18:03:05 +02:00
parent 45b5798e7d
commit 18021fb502
7 changed files with 37 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
$("#<%= Attachment.parent_attachment_list_id(@parent) %>").replaceWith("<%= escape_javascript ( render partial:"attachments/attachment_list", object:@attachments, locals: {editor: true, parent: @parent} ) %>")
<% if @parent.is_a?(Neuigkeit) %>
<% @neuigkeit=@parent; @rubrik=@neuigkeit.rubrik %>
<%= render "neuigkeiten/show", object: @neuigkeit %>
<% @neuigkeit=@parent %>
<%= render "neuigkeiten/show", object: @parent, locals: {show: @parent} %>
<% end %>