calentry inline form

This commit is contained in:
Andreas Stephanides
2014-10-28 08:43:44 +01:00
parent 2622ed1513
commit 2688bca831
8 changed files with 41 additions and 2 deletions

View File

@@ -9,5 +9,5 @@ format =:default
end%>
<%= calentry.text %>
<%= link_to "edit", edit_calentry_path(calentry) if can? :edit, calentry %>
<%= link_to "edit", edit_calentry_path(calentry),:remote=>true if can? :edit, calentry %>
</div>