From 7be52bb7f2822417bb8d9b57d945db69e523f70f Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 26 Dec 2021 22:17:53 +0100 Subject: [PATCH] Include Rails URL helpers in `Services::Twitter` --- app/models/services/twitter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/services/twitter.rb b/app/models/services/twitter.rb index c605bc93..53ae7b2a 100644 --- a/app/models/services/twitter.rb +++ b/app/models/services/twitter.rb @@ -1,4 +1,5 @@ class Services::Twitter < Service + include Rails.application.routes.url_helpers include SocialHelper::TwitterMethods def provider