summaryrefslogtreecommitdiff
path: root/lib/chef_zero/endpoints/policy_endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/endpoints/policy_endpoint.rb')
-rw-r--r--lib/chef_zero/endpoints/policy_endpoint.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/policy_endpoint.rb b/lib/chef_zero/endpoints/policy_endpoint.rb
index 5c77a7c..1e80278 100644
--- a/lib/chef_zero/endpoints/policy_endpoint.rb
+++ b/lib/chef_zero/endpoints/policy_endpoint.rb
@@ -8,7 +8,7 @@ module ChefZero
def get(request)
revisions = list_data(request, request.rest_path + ["revisions"])
data = { revisions: hashify_list(revisions) }
- return json_response(200, data)
+ json_response(200, data)
end
# DELETE /organizations/ORG/policies/NAME
@@ -17,7 +17,7 @@ module ChefZero
data = { revisions: hashify_list(revisions) }
delete_data_dir(request, nil, :recursive)
- return json_response(200, data)
+ json_response(200, data)
end
end
end