[FIX] website_slides: typo in route definition pager
Before this commit, the route to the pager couldn't be resolved
because the <model("xxx.xxx") was having a typo
Now it doesn't, no traceback nor 500 error
OPW 801651
This commit is contained in:
@@ -78,7 +78,7 @@ class WebsiteSlides(http.Controller):
|
||||
|
||||
@http.route([
|
||||
'''/slides/<model("slide.channel"):channel>''',
|
||||
'''/slides/<model("slide.channel):channel>/page/<int:page>''',
|
||||
'''/slides/<model("slide.channel"):channel>/page/<int:page>''',
|
||||
|
||||
'''/slides/<model("slide.channel"):channel>/<string:slide_type>''',
|
||||
'''/slides/<model("slide.channel"):channel>/<string:slide_type>/page/<int:page>''',
|
||||
|
||||
Reference in New Issue
Block a user