We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 477830c commit eca727bCopy full SHA for eca727b
src/Assets.php
@@ -150,8 +150,8 @@ protected function routed($extension)
150
$route = empty($route)? $segment : $route . '/' . $segment; //prevents double slashes
151
152
// check for custom assets from config first
153
- if (! empty($this->routes[$route]) ):
154
- foreach ($this->routes[$route] as $item):
+ if (! empty($this->config->routes[$route]) ):
+ foreach ($this->config->routes[$route] as $item):
155
// make sure the extensions match
156
if (is_string($item) && strtolower(pathinfo($item, PATHINFO_EXTENSION))==strtolower($extension)):
157
$files[] = $item;
0 commit comments