Skip to content

Instantly share code, notes, and snippets.

View FractalPlugin.php
<?php
namespace Craft;
class FractalPlugin extends BasePlugin
{
public function init()
{
craft()->templates->getTwig()->setLoader(new FractalTemplateLoader());