aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorCamil Staps2015-04-27 22:06:39 +0200
committerCamil Staps2015-04-27 22:06:39 +0200
commit94c853a33bb723eb67d96fbe89620f7dc7c1127b (patch)
tree9ca52e0a4bcbf16e10493ff9ca9382672c3ba825 /src/config
parentCleanup comments (diff)
JsonP
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config/config.php b/src/config/config.php
new file mode 100644
index 0000000..a622cda
--- /dev/null
+++ b/src/config/config.php
@@ -0,0 +1,13 @@
+<?php
+
+return [
+
+ 'default_format' => 'json',
+
+ 'formats' => [
+
+ 'json' => 'Dingo\Api\Http\ResponseFormat\JsonpResponseFormat',
+
+ ]
+
+];