From aa3d9572501e0e544a6a0b09d7f82043e728d464 Mon Sep 17 00:00:00 2001 From: fauno Date: Mon, 22 Jun 2020 14:51:43 -0300 Subject: [PATCH] fixes --- app/controllers/telegram/webhook_controller.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/telegram/webhook_controller.rb b/app/controllers/telegram/webhook_controller.rb index b30753e..efe5be0 100644 --- a/app/controllers/telegram/webhook_controller.rb +++ b/app/controllers/telegram/webhook_controller.rb @@ -28,9 +28,11 @@ module Telegram respond_with :message, text: t('.hi', pirata: pirata.nick) end + private + def vincular_a_telegram_url - 'https://#{ENV.fetch('APP_HOST', 'lumi.partidopirata.com.ar')}/#/vincularATelegram' + "https://#{ENV.fetch('APP_HOST', 'lumi.partidopirata.com.ar')}/#/vincularATelegram" end end end