Skip to content

Commit

Permalink
update settings template engine
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindees committed Aug 29, 2022
1 parent 39d63b8 commit 4cb2cd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typerocket/plugin/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
namespace TypeRocketPlugin;

use TypeRocket\Controllers\Controller;
use TypeRocket\Template\TemplateEngine;

final class SettingsController extends Controller
{
public function typerocket()
{
return tr_view(__DIR__ . '/../../admin.php');
return tr_view(__DIR__ . '/../../admin.php')->setEngine(TemplateEngine::class);
}
}

0 comments on commit 4cb2cd1

Please sign in to comment.