comparison src/pages/tickets/page_meta.py @ 978:c8cafe316f6f

pages: removed trailing_slash option: this option is used for relative URLs, but it seems more reasonable to build absolute URL from the server, so templates are not dependants of the way the pages hierarchy is done.
author Goffi <goffi@goffi.org>
date Sun, 12 Nov 2017 12:51:56 +0100
parents 2e75dc986e03
children 97cce8c1e96a
comparison
equal deleted inserted replaced
977:d0de2a98e852 978:c8cafe316f6f
12 """ticket handling pages""" 12 """ticket handling pages"""
13 13
14 name = u'tickets_list' 14 name = u'tickets_list'
15 access = C.PAGES_ACCESS_PUBLIC 15 access = C.PAGES_ACCESS_PUBLIC
16 template = u"ticket/overview.html" 16 template = u"ticket/overview.html"
17 trailing_slash = True
18 17
19 18
20 def parse_url(self, request): 19 def parse_url(self, request):
21 try: 20 try:
22 service = self.nextPath(request) 21 service = self.nextPath(request)