projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4091: enhance code to handle the case where there are more than one item in the next...
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
api_client_authorizations_controller.rb
diff --git
a/apps/workbench/app/controllers/api_client_authorizations_controller.rb
b/apps/workbench/app/controllers/api_client_authorizations_controller.rb
index 03f0a040dde538a6a54dc8101130d4458fbfb6e0..85f52f20ab4db9c74d7264023f5428d2c35c7327 100644
(file)
--- a/
apps/workbench/app/controllers/api_client_authorizations_controller.rb
+++ b/
apps/workbench/app/controllers/api_client_authorizations_controller.rb
@@
-1,13
+1,7
@@
class ApiClientAuthorizationsController < ApplicationController
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
def index_pane_list
- %w(
recent h
elp)
+ %w(
Recent H
elp)
end
end
end
end