shoorick / mojowka

Small wiki based on top of Mojolicious::Lite
mojowka
28 stars 4 forks source link

Can't locate object method "render_text" via package "Mojolicious::Controller" at ./mojowka line 471. #5

Closed szabgab closed 8 years ago

szabgab commented 10 years ago

Clicking on the "Logged as admin" link I get to http://localhost:3000/profile/admin where I get the error

Can't locate object method "render_text" via package "Mojolicious::Controller" at ./mojowka line 471.

$ mversion Mojolicious 4.19

dastier commented 8 years ago

I began to study Mojolicious and got the same. I have to use render(text => ...) instead of render_text(...)

Sword-Smith commented 8 years ago

dastier: That worked for me. Thank you!

shoorick commented 8 years ago

Thank you and sorry for my bad responsibility.