Permalink
Browse files

Fix 'missing template' error on comment creation with invalid data

  • Loading branch information...
1 parent 00c9ca5 commit d70fca6af8b3c0a9c0b9a1f09d805298d5bbfd61 @ddiachkov committed Nov 11, 2011
@@ -35,7 +35,7 @@ def create
@comment.author = current_user
@comment.save
- respond_with @comment
+ respond_with @comment, template: "comments/edit"
end
# Показать единичный комментарий
@@ -1,5 +1,5 @@
# encoding: utf-8
module ActsAsCommentable
# Версия гема
- VERSION = "1.5.0"
-end
+ VERSION = "1.5.1"
+end

0 comments on commit d70fca6

Please sign in to comment.