Fixed API urls, allowed to use bulkbuy without /

This commit is contained in:
Sebastian Lohff 2011-10-24 17:28:11 +02:00
parent 1e7820b80b
commit 4e93c66b64
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ configRes = CsrfExemptResource(handler=ConfigHandler, **ad)
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'buyable/item/?$', buyableItemRes), url(r'buyable/item/?$', buyableItemRes),
url(r'buyable/item/(?P<itemId>\d+)/?$', buyableItemRes), url(r'buyable/item/(?P<itemId>\d+)/?$', buyableItemRes),
url(r'buyable/item/bulkbuy/$', buyableItemRes, {'bulkBuy': True}), url(r'buyable/item/bulkbuy/?$', buyableItemRes, {'bulkBuy': True}),
url(r'buyable/types/?$', buyableTypeRes), url(r'buyable/types/?$', buyableTypeRes),
url(r'buyable/history/?$', historyRes), url(r'buyable/history/?$', historyRes),