From c59b214ae2d2ed28f495619568879990296e5dba Mon Sep 17 00:00:00 2001 From: seangallavan Date: Thu, 11 Dec 2014 20:45:09 -0800 Subject: [PATCH 1/3] Update data_collector.rst Simple change...would have saved me several hours of guessing. --- cookbook/profiler/data_collector.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/profiler/data_collector.rst b/cookbook/profiler/data_collector.rst index 6c02639f197..1c49170e843 100644 --- a/cookbook/profiler/data_collector.rst +++ b/cookbook/profiler/data_collector.rst @@ -151,7 +151,7 @@ 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:: From 4ef942341d08d74a89b10861534db249239a3780 Mon Sep 17 00:00:00 2001 From: seangallavan Date: Fri, 12 Dec 2014 09:14:08 -0800 Subject: [PATCH 2/3] Update data_collector.rst Changes made. Thanks. --- cookbook/profiler/data_collector.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbook/profiler/data_collector.rst b/cookbook/profiler/data_collector.rst index 1c49170e843..9d09687745d 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. Make sure the ``id`` attribute is the same string you used for the getName() method. 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:: From 691a0b0f0c0ed02602e320bc32e3a13f5f5dc55c Mon Sep 17 00:00:00 2001 From: seangallavan Date: Fri, 12 Dec 2014 16:04:43 -0800 Subject: [PATCH 3/3] Update data_collector.rst Updated. Thanks for your patience. --- cookbook/profiler/data_collector.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/profiler/data_collector.rst b/cookbook/profiler/data_collector.rst index 9d09687745d..aaefe8beb58 100644 --- a/cookbook/profiler/data_collector.rst +++ b/cookbook/profiler/data_collector.rst @@ -152,7 +152,7 @@ All blocks have access to the ``collector`` object. To enable the template, add a ``template`` attribute to the ``data_collector`` 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 +for the ``getName()`` method. For example, assuming your template is in some ``AcmeDebugBundle``: .. configuration-block::