diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-05-10 15:24:26 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-05-10 15:24:26 +0300 |
commit | 9e5f553863749b5bb0a83e597b2f962b0d91e442 (patch) | |
tree | 5956ef3ea1abed37cb60e0ef971f044fe9e7a940 /servo/urls | |
parent | bb1fa8e854882e60909386ddade466981ce65c02 (diff) | |
download | Servo-9e5f553863749b5bb0a83e597b2f962b0d91e442.tar.gz Servo-9e5f553863749b5bb0a83e597b2f962b0d91e442.tar.bz2 Servo-9e5f553863749b5bb0a83e597b2f962b0d91e442.zip |
Fix for flag toggling
Diffstat (limited to 'servo/urls')
-rw-r--r-- | servo/urls/note.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servo/urls/note.py b/servo/urls/note.py index e68bba3..5cab498 100644 --- a/servo/urls/note.py +++ b/servo/urls/note.py @@ -19,7 +19,9 @@ urlpatterns = [ name="notes-create_to_customer"), url(r'^(?P<pk>\d+)/toggle/tag/(?P<tag_id>\d+)/$', toggle_tag, name="notes-toggle_tag"), - url(r'^(?P<kind>\w+)?/(?P<pk>\d+)/toggle_(?P<flag>[a-z]+)/$', toggle_flag, + url(r'^(?P<kind>\w+)/(?P<pk>\d+)/toggle_(?P<flag>[a-z]+)/$', toggle_flag, + name="notes-toggle_flag"), + url(r'^all/(?P<pk>\d+)/toggle_(?P<flag>[a-z]+)/$', toggle_flag, name="notes-toggle_flag"), url(r'^(?P<parent>\d+)/reply/$', edit, name="notes-reply"), url(r'^(?P<pk>\d+)/edit/$', edit, name="notes-edit"), |