Skip to content

Commit

Permalink
try to be clearer with the parenthesis)
Browse files Browse the repository at this point in the history
  • Loading branch information
kf8a committed Jun 20, 2024
1 parent 9b83173 commit 4107f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/citations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4107f54

Please sign in to comment.