summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/furnitures/urls.py')
-rw-r--r--ishtar/furnitures/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ishtar/furnitures/urls.py b/ishtar/furnitures/urls.py
index 5123609fc..c93f14c78 100644
--- a/ishtar/furnitures/urls.py
+++ b/ishtar/furnitures/urls.py
@@ -87,13 +87,14 @@ urlpatterns += patterns('ishtar.furnitures.views',
name='autocomplete-file'),
url(BASE_URL + r'get-file/(?P<type>.+)?$', 'get_file',
name='get-file'),
- url(BASE_URL + r'show-file/(?P<pk>.+)?$', 'show_file',
+ url(BASE_URL + r'show-file/(?P<pk>.+)?/(?P<type>.+)?$', 'show_file',
name='show-file'),
url(BASE_URL + r'autocomplete-operation/$', 'autocomplete_operation',
name='autocomplete-operation'),
url(BASE_URL + r'get-operation/(?P<type>.+)?$', 'get_operation',
name='get-operation'),
- url(BASE_URL + r'show-operation/(?P<pk>.+)?$', 'show_operation',
+ url(BASE_URL + r'show-operation/(?P<pk>.+)?/(?P<type>.+)?$',
+ 'show_operation',
name='show-operation'),
url(BASE_URL + r'update-current-item/$', 'update_current_item',
name='update-current-item'),