Disabled @latest_release for Github
This commit is contained in:
parent
d3ed39597e
commit
b86d4ced0d
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
render 'landing'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue