Skip to content

Commit

Permalink
Add medications submenu link to subjects sidebar, addresses #697.
Browse files Browse the repository at this point in the history
  • Loading branch information
remomueller committed Mar 12, 2019
1 parent 3252c37 commit ea1fe33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/subjects/_sidebar.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ea1fe33

Please sign in to comment.