We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad95faa commit f687b11Copy full SHA for f687b11
src/Ubiquity/scaffolding/templates/shieldonController.tpl
@@ -0,0 +1,21 @@
1
+<?php
2
+namespace controllers;
3
+
4
+/**
5
+ * Controller Shieldon
6
+ */
7
+class %controllerName% extends \Ubiquity\controllers\Controller {
8
9
+ /**
10
+ * %route%
11
12
+ public function index() {
13
+ // Get Firewall instance from Shieldon Container.
14
+ $firewall = \Shieldon\Container::get('firewall');
15
16
+ // Get into the Firewall Panel.
17
+ $controlPanel = new \Shieldon\FirewallPanel($firewall);
18
+ %csrf%
19
+ $controlPanel->entry();
20
+ }
21
+}
0 commit comments