From 6d48d88b5120af11aa1f59eec355993f8ed1ddc9 Mon Sep 17 00:00:00 2001 From: Benjamin Poon Date: Wed, 24 Mar 2021 23:06:38 -0600 Subject: [PATCH] remove redefinition of @hotels inst var needed to hydrate hotel dropdown --- app/controllers/vouchers_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/vouchers_controller.rb b/app/controllers/vouchers_controller.rb index fc0da34f..aab6041b 100644 --- a/app/controllers/vouchers_controller.rb +++ b/app/controllers/vouchers_controller.rb @@ -29,8 +29,6 @@ def create return render :new end - @hotels = Hotel.all - short_intake_params = voucher_params[:short_intake] @short_intake = ShortIntake.new(short_intake_params) @short_intake.why_not_shelter = short_intake_params[:why_not_shelter].reject {|r| r == "0" }