diff --git a/webapp/views/about.erb b/webapp/views/about.erb index e5c54f4..347cd56 100644 --- a/webapp/views/about.erb +++ b/webapp/views/about.erb @@ -11,7 +11,13 @@ -

<%= rate_limit.class %>

+<% unless rate_limit.is_a?(NilClass) || rate_limit.nil? %> +
+

GitHub GraphQL API Rate Limit

+

<%=pluralise(rate_limit.remaining, 'point', 'points') %> remaining out of <%=pluralise(rate_limit.limit, 'point', 'points') %> limit

+

Resets <%=d rate_limit.reset_at %>

+
+<% end %>

Version Information

Branch: <%=h branch %>