From 3b03f087ca53b918a4edc52d50cd28a3c714081a Mon Sep 17 00:00:00 2001 From: Abigail McPhillips Date: Mon, 13 May 2024 15:08:39 +0100 Subject: [PATCH] update seed file --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 1b186806ed..3b2e20b467 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -6,7 +6,7 @@ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first) -if Rails.env.development? || ENV["ENVIRONMENT_NAME"] == "review" +if Rails.env.development? || ENV["ENVIRONMENT_NAME"] =~ /\Areview/ Journeys::Configuration.create!(routing_name: Journeys::TeacherStudentLoanReimbursement::ROUTING_NAME, current_academic_year: AcademicYear.current) Journeys::Configuration.create!(routing_name: Journeys::AdditionalPaymentsForTeaching::ROUTING_NAME, current_academic_year: AcademicYear.current)