aboutsummaryrefslogtreecommitdiff
path: root/src/controllers/ParticipantController.php
diff options
context:
space:
mode:
authorCamil Staps2015-05-12 22:44:16 +0200
committerCamil Staps2015-05-12 22:44:16 +0200
commita0bb2d17c662231ab45ab3910d6a8cafc01bd203 (patch)
treef72b9e7b99111030d1f21982a8d11953ce98a6dc /src/controllers/ParticipantController.php
parentAccess-control-allow-{methods,headers} headers (diff)
Cleanup
Diffstat (limited to 'src/controllers/ParticipantController.php')
-rw-r--r--src/controllers/ParticipantController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controllers/ParticipantController.php b/src/controllers/ParticipantController.php
index 2ca28fb..a493146 100644
--- a/src/controllers/ParticipantController.php
+++ b/src/controllers/ParticipantController.php
@@ -29,7 +29,7 @@ class ParticipantController extends BaseController {
if ($this->participant->save()) {
return $this->response->created();
} else {
- throw new Dingo\Api\Exception\StoreResourceFailedException;
+ throw new \Dingo\Api\Exception\StoreResourceFailedException;
}
}