Skip to content

Instantly share code, notes, and snippets.

@michaelcullum
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelcullum/c836f57e14858da5f505 to your computer and use it in GitHub Desktop.
Save michaelcullum/c836f57e14858da5f505 to your computer and use it in GitHub Desktop.
<?php
namespace Phpbb\WebsiteInterfaceBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\TemplateController;
class StaticTemplateController extends TemplateController
{
public function staticTemplateAction($template, $maxAge = 86400, $sharedAge = 86400, $private = null)
{
return $this->templateAction($template, $maxAge, $sharedAge, $private);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment