From ea1fe33386c7791bc31bbb9025bf996262160715 Mon Sep 17 00:00:00 2001 From: Remo Mueller Date: Tue, 12 Mar 2019 15:47:35 -0400 Subject: [PATCH] Add medications submenu link to subjects sidebar, addresses #697. --- app/views/subjects/_sidebar.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/subjects/_sidebar.html.haml b/app/views/subjects/_sidebar.html.haml index 019b4ad47..43a66a591 100644 --- a/app/views/subjects/_sidebar.html.haml +++ b/app/views/subjects/_sidebar.html.haml @@ -73,6 +73,7 @@ - if @project.medications_enabled? %li.sidebar-menu-header-link = link_to "Medications", project_subject_medications_path(@project, @subject) + %li= link_to "Log", project_subject_medications_path(@project, @subject), class: "#{"active" if params[:controller] == "medications"}" %li.sidebar-menu-header-link = link_to "Extra", timeline_project_subject_path(@project, @subject)