Skip to content

Commit 7ee2114

Browse files
committed
removed extra variable
1 parent 54c376f commit 7ee2114

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/controllers/lab_tests_controller.rb

-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ class LabTestsController < ApplicationController
99
# GET /lab_tests or /lab_tests.json
1010
def index
1111
authorize LabTest
12-
13-
base_scope = policy_scope(LabTest)
14-
.where(user_id: @chosen_user_id)
15-
.in_date_range(params[:start_date], params[:end_date])
16-
1712
# Get all records with proper includes and ordering
1813
@recordables = policy_scope(LabTest)
1914
.select(:recordable_id, :created_at)

0 commit comments

Comments
 (0)