web_template.smart_cities was not found.
Are you sure the view exists and is a .blade.php file?
Stack Trace
FileViewFinder
- Path:
vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php - Line: 137
- Path:
FileViewFinder
- Path:
vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php - Line: 79
- Path:
RouteFileRegistrar
- Path:
vendor/laravel/framework/src/Illuminate/Routing/RouteFileRegistrar.php - Line: 43
- Path:
Method Implementation
/**
* @param array $paths
* @return string
*
* @throws \InvalidArgumentException
*/
protected function findInPaths($name, $paths)
{
foreach ((array) $paths as $path) {
foreach ($this->getPossibleViewFiles($name) as $file) {
if ($this->files->exists($viewPath = $path.'/'.$file)) {
return $viewPath;
}
}
}
throw new InvalidArgumentException("View [{$name}] not found.");
}
/**
* Get an array of possible view files.
*
* @param string $name
* @return array
*/
protected function getPossibleViewFiles($name)
{
return array_map(function ($extension) use ($name) {
return str_replace('.', '/', $name).'.'.$extension;
}, $this->extensions);
}