aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/comment_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-13 19:15:51 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 12:22:23 +1100
commitba15c9b78dca182f74281d7354e77942860259e7 (patch)
treed41be388f194bc3bdbc58c08c07341e948626a31 /app/controllers/comment_controller.rb
parent8e8f8bb435ad66deaf9d7a9eb1ec221fde3540d2 (diff)
Rename helper method
Diffstat (limited to 'app/controllers/comment_controller.rb')
-rw-r--r--app/controllers/comment_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/comment_controller.rb b/app/controllers/comment_controller.rb
index ed249d6cc..9b8e0f799 100644
--- a/app/controllers/comment_controller.rb
+++ b/app/controllers/comment_controller.rb
@@ -86,7 +86,7 @@ class CommentController < ApplicationController
@info_request.save!
# we don't use comment_url here, as then you don't see the flash at top of page
- redirect_to request_url(@info_request)
+ redirect_to request_path(@info_request)
else
# do nothing - as "authenticated?" has done the redirect to signin page for us
end