Permalink
Browse files

Fixed huge bug in deleting documents

  • Loading branch information...
andzdroid committed May 15, 2012
1 parent 4b2f9c6 commit 93a80c1019669628954fcb0b050a4a9378596074
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/collection.html
View
@@ -137,7 +137,7 @@ <h3>Add Document</h3>
</div>
<div class="span1">
<br /><br />
- <form method="POST" action="db/{{ dbName }}/{{ collectionName }}/{{ document._id }}">
+ <form method="POST" action="db/{{ dbName }}/{{ collectionName }}/{{ docs[loop.index0]._id }}">
<input type="hidden" name="_method" value="delete">
<button type="submit" class="btn btn-danger btn-mini">
<i class="icon-remove icon-white"></i>

0 comments on commit 93a80c1

Please sign in to comment.