Skip to content

Commit

Permalink
Update helpers.php
Browse files Browse the repository at this point in the history
Fixed #16
  • Loading branch information
Mario Bašić authored Nov 21, 2016
1 parent b1ceb6b commit 8fdc10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Laravelista/Ekko/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function isActiveMatch($string, $output = "active")
*/
function areActiveRoutes(array $routeNames, $output = "active")
{
return app(Ekko::class)->areActiveRoutes($string, $output);
return app(Ekko::class)->areActiveRoutes($routeNames, $output);
}
}

Expand All @@ -65,4 +65,4 @@ function areActiveURLs(array $urls, $output = "active")
{
return app(Ekko::class)->areActiveURLs($urls, $output);
}
}
}

0 comments on commit 8fdc10c

Please sign in to comment.