diff --git a/cookbook/profiler/data_collector.rst b/cookbook/profiler/data_collector.rst index 6c02639f197..aaefe8beb58 100644 --- a/cookbook/profiler/data_collector.rst +++ b/cookbook/profiler/data_collector.rst @@ -151,7 +151,8 @@ All blocks have access to the ``collector`` object. echo base64_encode(file_get_contents($_SERVER['argv'][1])); To enable the template, add a ``template`` attribute to the ``data_collector`` -tag in your configuration. For example, assuming your template is in some +tag in your configuration. Make sure the ``id`` attribute is the same string you used +for the ``getName()`` method. For example, assuming your template is in some ``AcmeDebugBundle``: .. configuration-block::