diff --git a/app/controllers/users/ssh_keys_controller.rb b/app/controllers/users/ssh_keys_controller.rb index 9b3f479a0..722d6c057 100644 --- a/app/controllers/users/ssh_keys_controller.rb +++ b/app/controllers/users/ssh_keys_controller.rb @@ -1,6 +1,7 @@ class Users::SshKeysController < Users::BaseController before_action :set_current_user before_action -> { authorize current_user, :update? } + skip_before_action :find_user def index @ssh_key = SshKey.new