Skip to content

Commit

Permalink
Merge pull request #1 from zombor/develop
Browse files Browse the repository at this point in the history
Add support for PATCH http requests
  • Loading branch information
kiall committed Nov 30, 2011
2 parents 267235e + 311bbbe commit b9d679e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/kohana/controller/api.php
Expand Up @@ -30,6 +30,7 @@ abstract class Kohana_Controller_API extends OAuth2_Controller
Http_Request::GET => 'get',
Http_Request::PUT => 'put', // Typically Update..
Http_Request::DELETE => 'delete',
'PATCH' => 'patch',
);

/**
Expand All @@ -39,6 +40,7 @@ abstract class Kohana_Controller_API extends OAuth2_Controller
(
Http_Request::POST,
Http_Request::PUT,
'PATCH'
);

/**
Expand Down

0 comments on commit b9d679e

Please sign in to comment.