Skip to content

Commit

Permalink
Merge pull request #5 from billythekid/patch-1
Browse files Browse the repository at this point in the history
Fix render bug
  • Loading branch information
engram-design authored Jul 18, 2018
2 parents 5c9a6ff + 24010ec commit 1e479aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/variables/NavigationVariable.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,7 @@ public function render($criteria = null, array $options = [])
'nodes' => $nodes,
'options' => $options,
]);

Craft::$app->view->setTemplateMode(View::TEMPLATE_MODE_SITE);
}
}

0 comments on commit 1e479aa

Please sign in to comment.