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
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