|
@@ -167,10 +167,10 @@ |
|
|
block discarded – undo |
|
167
|
167
|
public function createTemplate($which) |
|
168
|
168
|
{ |
|
169
|
169
|
$template = $this->templateFactory->createTemplate(); |
|
170
|
|
- $template->setFile(__DIR__ . '/templates/' . $which); |
|
|
170
|
+ $template->setFile(__DIR__.'/templates/'.$which); |
|
171
|
171
|
|
|
172
|
172
|
if ($template instanceof Nette\Application\UI\ITemplate) { |
|
173
|
|
- $template->base_dir = __DIR__ . '/templates'; |
|
|
173
|
+ $template->base_dir = __DIR__.'/templates'; |
|
174
|
174
|
} |
|
175
|
175
|
|
|
176
|
176
|
$template->addFilter('routeMaskStyles', function($mask) { |
Please login to merge, or discard this patch.