Skip to content

Commit

Permalink
Renamed Default to Static
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Mar 24, 2015
1 parent 3499463 commit 65ada24
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
* @author Ryan Weaver <[email protected]>
* @author Javier Eguiluz <[email protected]>
*/
class DefaultController extends Controller
class StaticController extends Controller
{
/**
* @Route("/", name="homepage")
*/
public function indexAction()
public function homepageAction()
{
return $this->render('default/homepage.html.twig');
return $this->render('static/homepage.html.twig');
}
}
2 changes: 1 addition & 1 deletion src/AppBundle/Twig/SourceCodeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function showSourceCode(\Twig_Environment $twig, $template)
{
$this->template = $template;

return $twig->render('default/_source_code.html.twig', array(
return $twig->render('static/_source_code.html.twig', array(
'controller_source_code' => $this->getControllerCode(),
'controller_file_path' => $this->getControllerRelativePath(),
'template_source_code' => htmlspecialchars($this->getTemplateCode(), ENT_QUOTES, 'UTF-8'),
Expand Down

0 comments on commit 65ada24

Please sign in to comment.