* Added migration to break script_version into separate "repository" and "script_vers...
[arvados.git] / apps / workbench / app / controllers / api_client_authorizations_controller.rb
index 8eed5526093563e94c546dc6c991aff0aa0665fa..81e324a46a6b379e5ec06583410d11ec69fcf5bd 100644 (file)
@@ -1,2 +1,13 @@
 class ApiClientAuthorizationsController < ApplicationController
+  def index
+    @objects = model_class.all.to_ary.reject do |x|
+      x.api_client_id == 0 or (x.expires_at and x.expires_at < Time.now) rescue false
+    end
+    super
+  end
+
+  def index_pane_list
+    %w(Recent Help)
+  end
+
 end