Skip to content

Commit cd1c0cb

Browse files
authored
Merge pull request #4237 from nhsuk/expand-patient-page-to-full-width
Expand patient and activity pages to full width
2 parents 83b4f2e + 62e062d commit cd1c0cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/controllers/patients_controller.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ class PatientsController < ApplicationController
77
before_action :set_patient, except: :index
88
before_action :record_access_log_entry, only: %i[show log]
99

10+
layout "full"
11+
1012
def index
1113
patients = @form.apply(policy_scope(Patient).includes(:school))
1214

1315
@pagy, @patients = pagy(patients)
14-
15-
render layout: "full"
1616
end
1717

1818
def show
@@ -27,7 +27,6 @@ def log
2727
end
2828

2929
def edit
30-
render layout: "full"
3130
end
3231

3332
def invite_to_clinic

0 commit comments

Comments
 (0)