forked from bofh/fetsite
AutoCommit Mon Jun 8 12:03:12 CEST 2015
This commit is contained in:
3
app/views/neuigkeiten/show.js.erb
Normal file
3
app/views/neuigkeiten/show.js.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
$('#neuigkeit_<%= @neuigkeit.id %>').replaceWith("<%= escape_javascript( render partial:"neuigkeit_view", object: @neuigkeit )%>");
|
||||
alert("reloaded<%= @neuigkeit.id %>");
|
||||
|
||||
Reference in New Issue
Block a user