perl---window下Mojolicious框架POST/GET路由选择时提示找不到模版

Page not found... yet!

None of these routes could generate a response for your            POST request for            /login, maybe you need            to add a new one?





$r->post('/login')->to('PostPage#login');
debug提示:。。。 不知道是咋的模版居然会多了下划线
Template "post_page/login.html.ep" not found.
把PostPage改成Postpage 就好了。。。 大小写问题吧。。。


你可能感兴趣的:(perl,Mojolicious,morbo)