@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'classes' => [ |
|
| 4 | + 'classes' => [ |
|
| 5 | 5 | 'request' => 'System\\Http\\Request', |
| 6 | 6 | 'response' => 'System\\Http\\Response', |
| 7 | 7 | 'route' => 'System\\Route', |
@@ -14,15 +14,15 @@ discard block |
||
| 14 | 14 | 'validator' => 'System\\Validation', |
| 15 | 15 | 'paginatio' => 'System\\Paginatio', |
| 16 | 16 | 'PugView' => 'System\\PugView', |
| 17 | - ], |
|
| 18 | - 'middlewares' => [ |
|
| 17 | + ], |
|
| 18 | + 'middlewares' => [ |
|
| 19 | 19 | 'admin' => [ |
| 20 | - 'auth' => 'App\\Middleware\\Admin\\AuthenticateMiddleware', |
|
| 21 | - 'ajax' => 'App\\Middleware\\Admin\\AjaxMiddleware', |
|
| 22 | - 'permissions' => 'App\\Middleware\\Admin\\PermissionsMiddleware', |
|
| 23 | - 'redirect' => 'App\\Middleware\\Admin\\RedirectMiddleware', |
|
| 20 | + 'auth' => 'App\\Middleware\\Admin\\AuthenticateMiddleware', |
|
| 21 | + 'ajax' => 'App\\Middleware\\Admin\\AjaxMiddleware', |
|
| 22 | + 'permissions' => 'App\\Middleware\\Admin\\PermissionsMiddleware', |
|
| 23 | + 'redirect' => 'App\\Middleware\\Admin\\RedirectMiddleware', |
|
| 24 | 24 | ], |
| 25 | 25 | 'website' => [ |
| 26 | 26 | ] |
| 27 | - ] |
|
| 27 | + ] |
|
| 28 | 28 | ]; |
| 29 | 29 | \ No newline at end of file |
@@ -6,16 +6,16 @@ |
||
| 6 | 6 | |
| 7 | 7 | class LoginController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('admin/pages/login', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | |
| 17 | - public function submit() |
|
| 18 | - { |
|
| 17 | + public function submit() |
|
| 18 | + { |
|
| 19 | 19 | |
| 20 | - } |
|
| 20 | + } |
|
| 21 | 21 | } |
| 22 | 22 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class SettingsController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('admin/pages/settings', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |
| 17 | 17 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ProfileController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('admin/pages/profile', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |
| 17 | 17 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class HomeController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('admin/pages/home', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |
| 17 | 17 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ServicesController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('website/pages/services', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |
| 17 | 17 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ImprintController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('website/pages/imprint', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class ContactController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('website/pages/contact', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |
| 17 | 17 | \ No newline at end of file |
@@ -6,11 +6,11 @@ |
||
| 6 | 6 | |
| 7 | 7 | class HomeController extends Controller |
| 8 | 8 | { |
| 9 | - public function index() |
|
| 10 | - { |
|
| 9 | + public function index() |
|
| 10 | + { |
|
| 11 | 11 | $context = [ |
| 12 | 12 | |
| 13 | 13 | ]; |
| 14 | 14 | return $this->PugView->render('website/pages/home', $context); |
| 15 | - } |
|
| 15 | + } |
|
| 16 | 16 | } |