11 lines
187 B
Ruby
11 lines
187 B
Ruby
|
class SshKeyPolicy < ApplicationPolicy
|
||
|
|
||
|
# Public: Get list of parameters that the user is allowed to alter.
|
||
|
#
|
||
|
# Returns Array
|
||
|
def permitted_attributes
|
||
|
%i(key name)
|
||
|
end
|
||
|
|
||
|
end
|