X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8c26f548ef22db734120de4a0828aa8d6b9fdaa0..465f9d370fb3b96b4cc30e139d24e4479a9f7ab0:/apps/api/urls.py?ds=sidebyside

diff --git a/apps/api/urls.py b/apps/api/urls.py
index 0ed64591..52b0ccc5 100644
--- a/apps/api/urls.py
+++ b/apps/api/urls.py
@@ -76,7 +76,7 @@ urlpatterns = patterns('',
     url(urlpath(r'documents', DOC, 'revision', format=False),
         document_merge, {'emitter_format': 'json'}, name="docmerge_view"),
         
-    url(r'diffs/(?P<source_revision>latest|[0-9a-fA-F]+)/(?P<target_revision>latest|[0-9a-fA-F]+)/$',
+    url(r'documents/(?P<docid>[^/]+)/diff$',
         diff_resource, {'emitter_format': 'raw'}, name="diff_resource"),