# -*- coding: utf-8
-from django.conf.urls.defaults import *
+from django.conf.urls import patterns, url
urlpatterns = patterns('wiki_img.views',
url(r'^text/(?P<image_id>\d+)/$',
'text', name="wiki_img_text"),
- url(r'^history/(?P<chunk_id>\d+)/$',
- 'history', name="wiki_history"),
+ url(r'^history/(?P<object_id>\d+)/$',
+ 'history', name="wiki_img_history"),
+
+ url(r'^revert/(?P<object_id>\d+)/$',
+ 'revert', name='wiki_img_revert'),
+
+ url(r'^diff/(?P<object_id>\d+)/$', 'diff', name="wiki_img_diff"),
+ url(r'^pubmark/(?P<object_id>\d+)/$', 'pubmark', name="wiki_img_pubmark"),
)