Skip to content

Commit

Permalink
Fix issues with wrong view name in frontend helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrckvzn authored and ifox committed May 21, 2021
1 parent 1609765 commit d73f00a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/frontend_helpers.php
Expand Up @@ -61,7 +61,7 @@ function icon($name, $opts = [])
if (!function_exists('twillViewName')) {
function twillViewName($module, $suffix)
{
$view = "'admin.'.$module.'.{$suffix}'";
$view = "admin.{$module}.{$suffix}";

if (view()->exists($view)) {
return $view;
Expand Down

0 comments on commit d73f00a

Please sign in to comment.