Revision 42c9541f
Added by Joseph Magen about 10 years ago
app/controllers/api/v2/operatingsystems_controller.rb | ||
---|---|---|
render :json => e.to_s, :status => :unprocessable_entity
|
||
end
|
||
|
||
protected
|
||
|
||
def resource_identifying_attributes
|
||
%w(to_label id)
|
||
end
|
||
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #4201 - update operating system by label, use description or fallname otherwise