Skip to content

Commit

Permalink
fix evidence path
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubik committed Dec 8, 2023
1 parent a902192 commit 5252535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/observation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def permitted_params
column I18n.t("active_admin.menu.independent_monitoring.evidence"), class: "col-evidence" do |o|
links = []
o.observation_documents.each do |d|
links << link_to(d.name, admin_evidences_path(d.id))
links << link_to(d.name, admin_evidence_path(d.id))
end
links.reduce(:+)
end
Expand Down

0 comments on commit 5252535

Please sign in to comment.