Skip to content

Commit

Permalink
Merge pull request #33 from Abhoryo/rvanlaak-patch-1
Browse files Browse the repository at this point in the history
Fix `UrlGeneratorInterface` deprecation
  • Loading branch information
rvanlaak committed Apr 5, 2016
2 parents f03f0d5 + c01b89f commit 2f4e18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BreadcrumbTrail/Trail.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getTemplate()
* @throws \InvalidArgumentException
* @return self
*/
public function add($breadcrumb_or_title, $routeName = null, $routeParameters = array(), $routeAbsolute = false, $position = 0, $attributes = array())
public function add($breadcrumb_or_title, $routeName = null, $routeParameters = array(), $routeAbsolute = UrlGeneratorInterface::ABSOLUTE_PATH, $position = 0, $attributes = array())
{
if ($breadcrumb_or_title === null) {
return $this->reset();
Expand Down

0 comments on commit 2f4e18a

Please sign in to comment.