kebab-project/kebab-project — Issue #89: Firebug console log for REST requests
Author: onurozgurozkan
Created: 2011-11-25 07:53:54+00:00
State: open
Labels: Request

Firebug Writer and Doctrine profiler are not working for REST requests.

I have changed the code (bold part) in order to make it work in file:

/ library / Kebab / Controller / Helper / Response.php

```php
public function getResponse()
{
//KBBTODO We should write an adapter for array, xml in future

if ( Zend_Registry::get('config')->kebab->logging->enable ) {
Zend_Wildfire_Channel_HttpHeaders::getInstance()->flush();
}

$jsonHelper = new Zend_Controller_Action_Helper_Json();
$jsonHelper->direct($this->_response);
}
```

report by danny_x from forum http://kebab-project.2299591.n4.nabble.com/Firebug-console-log-for-REST-requests-td4106164.html