From b86d4ced0d588fc6e71ba762297acff80c34e7a1 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Mon, 19 Sep 2016 17:02:29 +0200 Subject: [PATCH] Disabled @latest_release for Github --- app/controllers/root_controller.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb index e180f1286..24870bc0b 100644 --- a/app/controllers/root_controller.rb +++ b/app/controllers/root_controller.rb @@ -14,11 +14,8 @@ class RootController < ApplicationController redirect_to administrations_path else - begin - @latest_release = Github::Releases.latest - rescue OpenSSL::SSL::SSLErrorWaitReadable - @latest_release = nil - end + @latest_release = Github::Releases.latest + @latest_release = nil render 'landing' end end