Permalink
Browse files

Fixed exception due to recent Symfony2 changes

  • Loading branch information...
1 parent 059a141 commit cf645a4941badbf6efb6fbd82c7ac9ad53070123 @willdurand willdurand committed Jan 12, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −3 Controller/PanelController.php
  2. +1 −1 Resources/views/Collector/propel.html.twig
View
4 Controller/PanelController.php
@@ -22,10 +22,8 @@ class PanelController extends ContainerAware
{
/**
* This method renders the global Propel configuration.
- *
- * @param PropelDataCollector $collector A PropelDataCollector collector
*/
- public function configurationAction(PropelDataCollector $collector)
+ public function configurationAction()
{
$templating = $this->container->get('templating');
View
2 Resources/views/Collector/propel.html.twig
@@ -55,5 +55,5 @@
</tbody>
</table>
- {% render 'PropelBundle:Panel:configuration' with { 'collector': collector } %}
+ {% render 'PropelBundle:Panel:configuration' %}
{% endblock %}

0 comments on commit cf645a4

Please sign in to comment.