X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..c0b3c33647fc4b3e6454625b04180c75aafc702f:/src/api/urls.py?ds=inline

diff --git a/src/api/urls.py b/src/api/urls.py
index 910d362f5..4452aa2ae 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -58,8 +58,8 @@ urlpatterns = patterns(
         incl, name='api_include'),
 
     # info boxes (used by mobile app)
-    url(r'book/(?P<id>\d*?)/info\.html$', 'catalogue.views.book_info'),
-    url(r'tag/(?P<id>\d*?)/info\.html$', 'catalogue.views.tag_info'),
+    url(r'book/(?P<book_id>\d*?)/info\.html$', 'catalogue.views.book_info'),
+    url(r'tag/(?P<tag_id>\d*?)/info\.html$', 'catalogue.views.tag_info'),
 
     # books by collections
     url(r'^collections/$', collection_list_resource, name="api_collections"),