I have controller with route:
@http.route(['/report/yandex_phone_report'], type='http', auth="public", website=True)
def yandex_phone_report(self, **kw):
page_data = []
return http.request.render(self._report_index_page_template, {
'page_items': page_data
If I logged in URL /report/yandex_phone_report displayed fine. If I not loged in URL /report/yandex_phone_report is returning 404:
2017-08-02 16:46:09,400 5942 INFO ? werkzeug: 127.0.0.1 - - [02/Aug/2017 16:46:09] "GET /report/yandex_phone_report HTTP/1.1" 404 -
Browser is displaying this:
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
How can I fix it? Why route is not working?