This commit is contained in:
Vivianne Langdon 2022-03-11 22:31:40 -08:00
parent d6767e42fc
commit a4391f35c1

View file

@ -50,7 +50,9 @@ class Book(View):
if not book or not book.parent_work: if not book or not book.parent_work:
raise Http404() raise Http404()
if redirect_local_path := not user_statuses and maybe_redirect_local_path(request, book): if redirect_local_path := not user_statuses and maybe_redirect_local_path(
request, book
):
return redirect_local_path return redirect_local_path
# all reviews for all editions of the book # all reviews for all editions of the book