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
|
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
|
||||||
|
|
Loading…
Reference in a new issue