src/Badger/Bundle/GameBundle/Controller/BadgeController.php 1 location
|
@@ 74-83 (lines=10) @@
|
| 71 |
|
* |
| 72 |
|
* @return Response |
| 73 |
|
*/ |
| 74 |
|
public function showAction($id) |
| 75 |
|
{ |
| 76 |
|
$badge = $this->get('badger.game.repository.badge')->find($id); |
| 77 |
|
$deleteForm = $this->createDeleteForm($badge); |
| 78 |
|
|
| 79 |
|
return $this->render('@Game/badges/show.html.twig', [ |
| 80 |
|
'badge' => $badge, |
| 81 |
|
'delete_form' => $deleteForm->createView(), |
| 82 |
|
]); |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
/** |
| 86 |
|
* Displays a form to edit an existing Badge entity. |
src/Badger/Bundle/GameBundle/Controller/QuestController.php 1 location
|
@@ 70-79 (lines=10) @@
|
| 67 |
|
* |
| 68 |
|
* @return Response |
| 69 |
|
*/ |
| 70 |
|
public function showAction($id) |
| 71 |
|
{ |
| 72 |
|
$quest = $this->get('badger.game.repository.quest')->find($id); |
| 73 |
|
$deleteForm = $this->createDeleteForm($quest); |
| 74 |
|
|
| 75 |
|
return $this->render('@Game/quests/show.html.twig', [ |
| 76 |
|
'quest' => $quest, |
| 77 |
|
'delete_form' => $deleteForm->createView(), |
| 78 |
|
]); |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
/** |
| 82 |
|
* Displays a form to edit an existing Quest entity. |
src/Badger/Bundle/UserBundle/Controller/UserController.php 1 location
|
@@ 40-49 (lines=10) @@
|
| 37 |
|
* |
| 38 |
|
* @return Response |
| 39 |
|
*/ |
| 40 |
|
public function showAction($id) |
| 41 |
|
{ |
| 42 |
|
$user = $this->get('badger.user.repository.user')->find($id); |
| 43 |
|
$deleteForm = $this->createDeleteForm($user); |
| 44 |
|
|
| 45 |
|
return $this->render('@User/user/show.html.twig', [ |
| 46 |
|
'user' => $user, |
| 47 |
|
'delete_form' => $deleteForm->createView(), |
| 48 |
|
]); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
/** |
| 52 |
|
* Displays a form to edit an existing User entity. |