From 0663d566e289106ce5686ca7e35ac07ca3acc44b Mon Sep 17 00:00:00 2001 From: alexdbondoc17 Date: Wed, 9 Feb 2022 01:47:59 +0000 Subject: [PATCH] Fix `document_doctrines#show` --- app/views/document/doctrines/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/document/doctrines/show.html.erb b/app/views/document/doctrines/show.html.erb index 366549b..8648caf 100644 --- a/app/views/document/doctrines/show.html.erb +++ b/app/views/document/doctrines/show.html.erb @@ -24,7 +24,7 @@
- <%= render(DoctrineModalFormComponent.new(current_user: current_user, doctrine: @document.doctrines.new, subjects: @subjects.order(name: :asc), opts: { form_url: jurisprudence_doctrines_path(jurisprudence_id: @document.id), form_method: :post })) %> + <%= render(DoctrineModalFormComponent.new(current_user: current_user, doctrine: @document.doctrines.new, subjects: Cdao::Subject.all.order(name: :asc), opts: { form_url: jurisprudence_doctrines_path(jurisprudence_id: @document.id), form_method: :post })) %>