Skip to content

Commit

Permalink
Handle OPTIONS for /users/me, refs T1134
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Dec 15, 2014
1 parent f58bbd8 commit 65766aa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions application/classes/Controller/Api/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,18 @@ public function action_delete_index()
$this->_restful($endpoint, $request);
}

/**
* Get the options for the "me" endpoint.
*
* OPTIONS /api/users/me
*
* @return void
*/
public function action_options_me()
{
$this->action_options_index();
}

/**
* Get current user
*
Expand Down

0 comments on commit 65766aa

Please sign in to comment.