Skip to content

Commit

Permalink
Fixed exception due to recent Symfony2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Jan 12, 2012
1 parent 059a141 commit cf645a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Controller/PanelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Collector/propel.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -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.