[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:
Lucas Perais (lpe)
2017-12-27 16:34:44 +01:00
parent 3a79d2cf2e
commit cad10e6b78
+1 -1
View File
@@ -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>''',