Disabled @latest_release for Github

This commit is contained in:
Xavier J 2016-09-19 17:02:29 +02:00
parent d3ed39597e
commit b86d4ced0d

View file

@ -14,11 +14,8 @@ class RootController < ApplicationController
redirect_to administrations_path redirect_to administrations_path
else else
begin @latest_release = Github::Releases.latest
@latest_release = Github::Releases.latest @latest_release = nil
rescue OpenSSL::SSL::SSLErrorWaitReadable
@latest_release = nil
end
render 'landing' render 'landing'
end end
end end