beef-articles 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/controllers/comments_controller.rb +1 -1
- data/articles.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.8
|
@@ -30,7 +30,7 @@ class CommentsController < ApplicationController
|
|
30
30
|
if @comment.save
|
31
31
|
format.html { redirect_to @commentable }
|
32
32
|
format.js
|
33
|
-
format.json { render :json => @comment.to_json(:except => [:commentable_type, :commentable_id ]), :status => :created, :location =>
|
33
|
+
format.json { render :json => @comment.to_json(:except => [:commentable_type, :commentable_id ]), :status => :created, :location => @commentable }
|
34
34
|
else
|
35
35
|
format.html { render :action => 'new' }
|
36
36
|
format.js
|
data/articles.gemspec
CHANGED