projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3296: good tests do add value.
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
authorized_keys_controller.rb
diff --git
a/apps/workbench/app/controllers/authorized_keys_controller.rb
b/apps/workbench/app/controllers/authorized_keys_controller.rb
index 4487ead95a426a8a878bdecc486acc9f4b36f33f..6eaec1ee59f1e954afb1b419dc57e9f9a277a888 100644
(file)
--- a/
apps/workbench/app/controllers/authorized_keys_controller.rb
+++ b/
apps/workbench/app/controllers/authorized_keys_controller.rb
@@
-1,4
+1,8
@@
class AuthorizedKeysController < ApplicationController
class AuthorizedKeysController < ApplicationController
+ def index_pane_list
+ %w(Recent Help)
+ end
+
def new
super
@object.authorized_user_uuid = current_user.uuid if current_user
def new
super
@object.authorized_user_uuid = current_user.uuid if current_user
@@
-7,7
+11,7
@@
class AuthorizedKeysController < ApplicationController
def create
defaults = { authorized_user_uuid: current_user.uuid, key_type: 'SSH' }
def create
defaults = { authorized_user_uuid: current_user.uuid, key_type: 'SSH' }
- @object = AuthorizedKey.new defaults.merge(params[:authorized_key])
+ @object = AuthorizedKey.new defaults.merge(params[:authorized_key]
|| {}
)
super
end
end
super
end
end