src/Badger/Bundle/GameBundle/Controller/AdventureStepCompletionController.php 1 location
|
@@ 21-29 (lines=9) @@
|
18 |
|
* |
19 |
|
* @return Response |
20 |
|
*/ |
21 |
|
public function indexAction() |
22 |
|
{ |
23 |
|
$pendingCompletions = $this->get('badger.game.repository.adventure_step_completion') |
24 |
|
->findBy(['pending' => 1]); |
25 |
|
|
26 |
|
return $this->render('@Game/claimed-adventure-steps/index.html.twig', [ |
27 |
|
'pendingCompletions' => $pendingCompletions |
28 |
|
]); |
29 |
|
} |
30 |
|
|
31 |
|
/** |
32 |
|
* Reject an adventure step completion by removing it from the database. |
src/Badger/Bundle/GameBundle/Controller/BadgeCompletionController.php 1 location
|
@@ 25-33 (lines=9) @@
|
22 |
|
* |
23 |
|
* @return Response |
24 |
|
*/ |
25 |
|
public function indexAction() |
26 |
|
{ |
27 |
|
$pendingCompletions = $this->get('badger.game.repository.badge_completion') |
28 |
|
->findBy(['pending' => 1]); |
29 |
|
|
30 |
|
return $this->render('@Game/claimed-badges/index.html.twig', [ |
31 |
|
'pendingCompletions' => $pendingCompletions |
32 |
|
]); |
33 |
|
} |
34 |
|
|
35 |
|
/** |
36 |
|
* Reject a badge completion by removing it from the database. |
src/Badger/Bundle/GameBundle/Controller/QuestCompletionController.php 1 location
|
@@ 21-29 (lines=9) @@
|
18 |
|
* |
19 |
|
* @return Response |
20 |
|
*/ |
21 |
|
public function indexAction() |
22 |
|
{ |
23 |
|
$pendingCompletions = $this->get('badger.game.repository.quest_completion') |
24 |
|
->findBy(['pending' => 1]); |
25 |
|
|
26 |
|
return $this->render('@Game/claimed-quests/index.html.twig', [ |
27 |
|
'pendingCompletions' => $pendingCompletions |
28 |
|
]); |
29 |
|
} |
30 |
|
|
31 |
|
/** |
32 |
|
* Reject a quest completion by removing it from the database. |