Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/AppBundle/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@ function aboutAction()
), $response);
}

function deleteAccountAction()
{
$response = new Response();
$response->setPublic();
$response->setMaxAge($this->container->getParameter('cache_expiration'));

return $this->render('AppBundle:Default:account_delete.html.twig', array(
"pagetitle" => "Delete Account",

"game_name" => $this->container->getParameter('game_name'),
), $response);
}

function apiIntroAction()
{
$response = new Response();
Expand Down
5 changes: 5 additions & 0 deletions src/AppBundle/Resources/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ about:
defaults:
_controller: AppBundle:Default:about

delete_account:
path: /delete_account
defaults:
_controller: AppBundle:Default:deleteAccount

rules:
path: /rules
defaults:
Expand Down
11 changes: 11 additions & 0 deletions src/AppBundle/Resources/views/Default/account_delete.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% extends 'AppBundle::layout.html.twig' %}

{% block title %}Delete Account Request{% endblock %}

{% block body %}
<div class="main white container">

<iframe src="https://docs.google.com/forms/d/e/1FAIpQLSfV-Q-mfUwC7TWHqc2qq8lKJs2DP1ANJnYauXXefJRbDZsllg/viewform?embedded=true" width="640" height="784" frameborder="0" marginheight="0" marginwidth="0">Loading…</iframe>

</div>
{% endblock %}