Use CakeRequest::onlyAllow() instead of CakeRequest::is()
Merge pull request #823 from shockone/patch-6

Use CakeRequest::onlyAllow() instead of CakeRequest::is()