Skip to content

Commit ca5fac0

Browse files
committed
Revert "redirect with explicit path"
This reverts commit 2ea1db4.
1 parent 2ea1db4 commit ca5fac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/request_for_comments_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def report
168168

169169
ReportMailer.with(reported_content: @request_for_comment).report_content.deliver_later
170170

171-
redirect_to(request_for_comment_path(@request_for_comment), notice: t('.report.reported'))
171+
redirect_to(@request_for_comment, notice: t('.report.reported'))
172172
end
173173

174174
private

0 commit comments

Comments
 (0)