Skip to content

Commit

Permalink
update seed file
Browse files Browse the repository at this point in the history
  • Loading branch information
AbigailMcP committed May 13, 2024
1 parent 2affc29 commit 3b03f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3b03f08

Please sign in to comment.