summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/comments_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb
index 7432f831f..230af5caf 100644
--- a/app/controllers/comments_controller.rb
+++ b/app/controllers/comments_controller.rb
@@ -12,7 +12,7 @@ class CommentsController < ApplicationController
if @news.comments << @comment
flash[:notice] = l(:label_comment_added)
end
-
+
redirect_to :controller => 'news', :action => 'show', :id => @news
end
@@ -32,5 +32,5 @@ class CommentsController < ApplicationController
@comment = nil
@news
end
-
+
end