Skip to content

Commit 1aaec64

Browse files
committed
Explicit folder 'Modules' for templates
1 parent f5836b9 commit 1aaec64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/DataObjects/Module.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function ModulePositionName(){
134134
public function ModuleLayout(){
135135

136136
// try rendering with this module's own template
137-
$output = $this->renderWith($this->ClassName);
137+
$output = $this->renderWith('Modules/'.$this->ClassName);
138138

139139
// no custom template, so use base template (Model.ss)
140140
//if( !$output )

0 commit comments

Comments
 (0)