summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorzach <zach@controlyourself.ca>2008-09-30 15:44:35 -0400
committerzach <zach@controlyourself.ca>2008-09-30 15:44:35 -0400
commit37b3bd54893b0221fba32461c2720fc252e11743 (patch)
treef1535c3ef92d1c64026843ea91b8c7d56aec7fe8 /htaccess.sample
parentbbd5f6b471c873e9fff955bfbedd3db91ee25dc0 (diff)
Twitter-compatible API - Favorites now working!
darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 598ea9f7f..d05a74603 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -110,6 +110,7 @@ RewriteRule ^api/account/update_delivery_device(.*)$ index.php?action=api&apiact
RewriteRule ^api/account/rate_limit_status(.*)$ index.php?action=api&apiaction=account&method=rate_limit_status$1 [L,QSA]
RewriteRule ^api/favorites/create/(.*)$ index.php?action=api&apiaction=favorites&method=create&argument=$1 [L,QSA]
RewriteRule ^api/favorites/destroy/(.*)$ index.php?action=api&apiaction=favorites&method=destroy&argument=$1 [L,QSA]
+RewriteRule ^api/favorites/(.*)$ index.php?action=api&apiaction=favorites&method=favorites&argument=$1 [L,QSA]
RewriteRule ^api/favorites(.*)$ index.php?action=api&apiaction=favorites&method=favorites$1 [L,QSA]
RewriteRule ^api/notifications/follow/(.*)$ index.php?action=api&apiaction=notifications&method=follow&argument=$1 [L,QSA]
RewriteRule ^api/notifications/leave/(.*)$ index.php?action=api&apiaction=notifications&method=leave&argument=$1 [L,QSA]