Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from zombor/develop

Add support for PATCH http requests
  • Loading branch information...
commit b9d679e28a9f1a8fc4127e1b69c8e5ae2816e020 2 parents 267235e + 311bbbe
@kiall kiall authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  classes/kohana/controller/api.php
View
2  classes/kohana/controller/api.php
@@ -30,6 +30,7 @@
Http_Request::GET => 'get',
Http_Request::PUT => 'put', // Typically Update..
Http_Request::DELETE => 'delete',
+ 'PATCH' => 'patch',
);
/**
@@ -39,6 +40,7 @@
(
Http_Request::POST,
Http_Request::PUT,
+ 'PATCH'
);
/**
Please sign in to comment.
Something went wrong with that request. Please try again.