mirror of
https://github.com/marcus-alicia/iRedAdmin-Pro-SQL.git
synced 2026-05-31 17:39:43 +00:00
Add files via upload
This commit is contained in:
13
controllers/mlmmj/urls.py
Normal file
13
controllers/mlmmj/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Author: Zhang Huangbin <zhb@iredmail.org>
|
||||
from libs.regxes import mailing_list_id as mlid
|
||||
from libs.regxes import mailing_list_confirm_token as confirm_token
|
||||
|
||||
# fmt: off
|
||||
urls = [
|
||||
'/newsletter/noninteractive/(subscribe)/(%s)$' % mlid, 'controllers.mlmmj.newsletter.SubUnsubSSR',
|
||||
'/newsletter/(subscribe|unsubscribe)/(%s)$' % mlid, 'controllers.mlmmj.newsletter.SubUnsub',
|
||||
'/newsletter/(subconfirm|unsubconfirm)/({})/({})$'.format(mlid, confirm_token), 'controllers.mlmmj.newsletter.SubUnsubConfirm',
|
||||
# Handle error messages
|
||||
'/newsletter/error', 'controllers.mlmmj.newsletter.Error',
|
||||
]
|
||||
# fmt: on
|
||||
Reference in New Issue
Block a user