Changed admin view name to "admin" instead of "admin.html"
authorThierry Florac <thierry.florac@onf.fr>
Tue, 11 Oct 2016 16:02:43 +0200
changeset 8 ba4101a76da8
parent 7 12370f3aa2f2
child 9 cfac2a5b97bc
Changed admin view name to "admin" instead of "admin.html"
src/pyams_notify/handlers/workflow.py
--- a/src/pyams_notify/handlers/workflow.py	Wed Sep 21 22:06:19 2016 +0200
+++ b/src/pyams_notify/handlers/workflow.py	Tue Oct 11 16:02:43 2016 +0200
@@ -46,7 +46,7 @@
                                 category='content.workflow',
                                 message=translate(transition.user_data['notify_message']).format(
                                     II18n(event.object).query_attribute('title', request=request)),
-                                url=absolute_url(event.object, request, 'admin.html'),
+                                url=absolute_url(event.object, request, 'admin'),
                                 transition=transition)
     notification.send()