Code formatting
This commit is contained in:
@ -11,13 +11,13 @@
|
||||
|
||||
abstract class StaticAction extends Action
|
||||
{
|
||||
|
||||
|
||||
protected function getTemplate()
|
||||
{
|
||||
$template = ($this->template) ? $this->template : substr(get_class($this), 0, -6/*strlen('Action')*/);
|
||||
$template = ($this->template) ? $this->template : substr(get_class($this), 0, -6 /*strlen('Action')*/);
|
||||
return '/static/' . $template;
|
||||
}
|
||||
|
||||
|
||||
public function fetch()
|
||||
{
|
||||
return $this->view->fetch($this->getTemplate());
|
||||
|
Reference in New Issue
Block a user