From 2bcde3798b1df586c2d30c1793123be0ea06544f Mon Sep 17 00:00:00 2001 From: Jannik Pulfer Date: Wed, 31 Jul 2024 14:20:29 +0200 Subject: [PATCH] Change insert to prepend in ptime initializer --- config/initializers/ptime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/ptime.rb b/config/initializers/ptime.rb index b115f68cb..73becbc3d 100644 --- a/config/initializers/ptime.rb +++ b/config/initializers/ptime.rb @@ -1,3 +1,3 @@ Rails.application.config.to_prepare do - PeopleController.include Ptime::PeopleController if Skills.ptime_available? + PeopleController.prepend Ptime::PeopleController if Skills.ptime_available? end \ No newline at end of file