Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions app/controllers/patients_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ class PatientsController < ApplicationController
before_action :set_patient, except: :index
before_action :record_access_log_entry, only: %i[show log]

layout "full"

def index
patients = @form.apply(policy_scope(Patient).includes(:school))

@pagy, @patients = pagy(patients)

render layout: "full"
end

def show
Expand All @@ -27,7 +27,6 @@ def log
end

def edit
render layout: "full"
end

def invite_to_clinic
Expand Down