sensio/SensioFrameworkExtraBundle — pull request #186 by vicmar (2013-01-06 20:56:17+00:00)
Title: Added @Ajax annotation

I've added support for an @Ajax annotation that you can attach to a controller in order to mark it as "AJAX Only". The EventListener/AjaxListener checks if the request is an Ajax request (isXmlHttpRequest method) throwing an Http exception (status code 403).

This is my first time contributing to an open source project so excuse me if i got something wrong.