Skip to content

Commit

Permalink
Adding plates and latte support to skeleton module
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonis committed Dec 1, 2015
1 parent 0bdd0b3 commit 01b86d7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>Welcome to your new latte template powered module: [MODULE_NAME]</p>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>Welcome to your plates powered module: [MODULE_NAME]</p>
13 changes: 13 additions & 0 deletions utils/skeleton_module/src/Controller/IndexInvoke.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
namespace [MODULE_NAME]\Controller;

use [MODULE_NAME]\Controller\Shared as SharedController;
use Psr\Http\Message\RequestInterface;

class Index extends SharedController
{
public function __invoke(RequestInterface $request)
{
return $this->render('[MODULE_NAME]:index:index.html.[TPL_ENGINE_EXT]');
}
}

0 comments on commit 01b86d7

Please sign in to comment.