Skip to content

Commit

Permalink
Make slugrouter configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Ausloos committed Dec 5, 2014
1 parent 6fbbb9e commit b357791
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Kunstmaan/NodeBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
parameters:
kunstmaan_node.version_timeout: 3600
kunstmaan_node.slugrouter.class: 'Kunstmaan\NodeBundle\Router\SlugRouter'

services:
kunstmaan_node.nodetranslation.listener:
Expand Down Expand Up @@ -78,7 +79,7 @@ services:
- { name: kernel.event_subscriber }

kunstmaan_node.slugrouter:
class: Kunstmaan\NodeBundle\Router\SlugRouter
class: "%kunstmaan_node.slugrouter.class%"
arguments: ["@service_container"]
tags:
- { name: router, priority: 0 }
Expand Down Expand Up @@ -118,4 +119,4 @@ services:
kunstmaan_node.command.fixtimestamps:
class: Kunstmaan\NodeBundle\Command\FixTimestampsCommand
calls:
- [setContainer, ["@service_container"] ]
- [setContainer, ["@service_container"] ]

0 comments on commit b357791

Please sign in to comment.