projects
/
PFCLatex
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
End of chapter 6
[PFCLatex/.git]
/
source
/
PHPWebServiceRouting.yml
diff --git a/source/PHPWebServiceRouting.yml
b/source/PHPWebServiceRouting.yml
new file mode 100644
(file)
index 0000000..
003537c
--- /dev/null
+++ b/
source/PHPWebServiceRouting.yml
@@ -0,0
+1,7
@@
+api_getadsbygps:
+ url: /api/:latitude/:longitude/gpsads.:sf_format
+ class: sfRequestRoute
+ param: { module: api, action: getadsbygps }
+ requirements:
+ sf_format: (?:xml|json|yaml)
+ sf_method: [GET]