We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e4c5d0 commit a50df5cCopy full SHA for a50df5c
1 file changed
src/Robots.php
@@ -14,7 +14,7 @@
14
15
namespace Nepttune\Component;
16
17
-final class Robots extends BaseComponent
+final class Robots extends \Nette\Application\UI\Control
18
{
19
private static $defaultConfig = [
20
'all' => [
@@ -37,4 +37,11 @@ protected function beforeRender() : void
37
38
$this->template->robots = $this->robots;
39
}
40
+
41
+ public function render() : void
42
+ {
43
+ $this->beforeRender();
44
+ $this->template->setFile(__DIR__ . '/Robots.latte');
45
+ $this->template->render();
46
+ }
47
0 commit comments