From ba15c9b78dca182f74281d7354e77942860259e7 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 13 Feb 2013 19:15:51 +1100 Subject: Rename helper method --- app/controllers/comment_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/comment_controller.rb') 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 -- cgit v1.2.3