diff options
Diffstat (limited to 'login/app/sprinkles/core/src/Controller')
-rwxr-xr-x | login/app/sprinkles/core/src/Controller/CoreController.php | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/login/app/sprinkles/core/src/Controller/CoreController.php b/login/app/sprinkles/core/src/Controller/CoreController.php index 0dd8165..b5f6e3c 100755 --- a/login/app/sprinkles/core/src/Controller/CoreController.php +++ b/login/app/sprinkles/core/src/Controller/CoreController.php @@ -5,6 +5,7 @@ * @link https://github.com/userfrosting/UserFrosting * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License) */ + namespace UserFrosting\Sprinkle\Core\Controller; use Psr\Http\Message\ServerRequestInterface as Request; @@ -26,8 +27,7 @@ class CoreController extends SimpleController * By default, this is the page that non-authenticated users will first see when they navigate to your website's root. * Request type: GET */ - public function pageIndex($request, $response, $args) - { + public function pageIndex($request, $response, $args) { return $this->ci->view->render($response, 'pages/index.html.twig'); } @@ -36,8 +36,7 @@ class CoreController extends SimpleController * * Request type: GET */ - public function pageAbout($request, $response, $args) - { + public function pageAbout($request, $response, $args) { return $this->ci->view->render($response, 'pages/about.html.twig'); } @@ -46,8 +45,7 @@ class CoreController extends SimpleController * * Request type: GET */ - public function pageLegal($request, $response, $args) - { + public function pageLegal($request, $response, $args) { return $this->ci->view->render($response, 'pages/legal.html.twig'); } @@ -56,8 +54,7 @@ class CoreController extends SimpleController * * Request type: GET */ - public function pagePrivacy($request, $response, $args) - { + public function pagePrivacy($request, $response, $args) { return $this->ci->view->render($response, 'pages/privacy.html.twig'); } @@ -67,8 +64,7 @@ class CoreController extends SimpleController * The alert stream contains messages which have been generated by calls to `MessageStream::addMessage` and `MessageStream::addMessageTranslated`. * Request type: GET */ - public function jsonAlerts($request, $response, $args) - { + public function jsonAlerts($request, $response, $args) { return $response->withJson($this->ci->alerts->getAndClearMessages()); } @@ -76,8 +72,7 @@ class CoreController extends SimpleController * Handle all requests for raw assets. * Request type: GET */ - public function getAsset($request, $response, $args) - { + public function getAsset($request, $response, $args) { // By starting this service, we ensure that the timezone gets set. $config = $this->ci->config; |