Skip to content

Commit

Permalink
remove redefinition of @hotels inst var needed to hydrate hotel dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyerror committed Mar 25, 2021
1 parent 30692f6 commit 6d48d88
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/controllers/vouchers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 6d48d88

Please sign in to comment.