Skip to content

Commit

Permalink
Merge pull request #141 from murnieza/sf_3
Browse files Browse the repository at this point in the history
Symfony 3 support
  • Loading branch information
saimaz committed Dec 21, 2015
2 parents db2a1d8 + eceba5a commit 6921be1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DependencyInjection/ONGRFilterManagerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private function addFiltersManagers(array $config, ContainerBuilder $container)
}

$managerDefinition = new Definition(
$container->getParameter('ongr_filter_manager.search.filters_manager.class'),
'ONGR\FilterManagerBundle\Search\FiltersManager',
[
$filtersContainer,
new Reference($manager['repository']),
Expand Down
8 changes: 2 additions & 6 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
parameters:
ongr_filter_manager.twig.pager_extension.class: ONGR\FilterManagerBundle\Twig\PagerExtension
ongr_filter_manager.search.filters_manager.class: ONGR\FilterManagerBundle\Search\FiltersManager

services:
ongr_filter_manager.twig.pager_extension:
class: %ongr_filter_manager.twig.pager_extension.class%
class: ONGR\FilterManagerBundle\Twig\PagerExtension
arguments:
- @router
- '@router'
tags:
- { name: twig.extension }

0 comments on commit 6921be1

Please sign in to comment.