forked from tonik/theme
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
Latest commit
23 lines (19 loc) · 508 Bytes
/
Copy pathsingle.php
File metadata and controls
23 lines (19 loc) · 508 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespaceTonik\Theme\Single;
/*
|------------------------------------------------------------------
| Single Controller
|------------------------------------------------------------------
|
| Think about theme template files as some sort of controllers
| from MVC design pattern. They should link application
| logic with your theme view templates files.
|
*/
usefunctionTonik\Theme\App\template;
/**
* Renders single post.
*
* @see resources/templates/single.tpl.php
*/
template('single');