From 4107f548b65ad62de44d4f5a0e915a6373a8e361 Mon Sep 17 00:00:00 2001 From: Sven Bohm Date: Thu, 20 Jun 2024 17:02:19 -0400 Subject: [PATCH] try to be clearer with the parenthesis) --- app/controllers/citations_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/citations_controller.rb b/app/controllers/citations_controller.rb index dd121d4c..024a602e 100644 --- a/app/controllers/citations_controller.rb +++ b/app/controllers/citations_controller.rb @@ -165,7 +165,7 @@ def destroy def send_citation(citation) if citation.pdf.persisted? - redirect_to url_for(citation.pdf), allow_other_hosts: true + redirect_to(url_for(citation.pdf), allow_other_host: true) else head 400 end