Join Slack
Powered by
<@U3W8YSSSV> Please post your entire code so we ca...
# getting-started
i
ilya.gorbunov
07/04/2017, 9:50 PM
@tipsy
Please post your entire code so we can see what going on. 4 replies
@tipsy
get("/hello") { MyClass::myFunc }
this way you're passing a lambda which gets the reference and then does nothing. You should pass the reference instead of the lambda:
get("/hello", MyClass::myFunc)
3
Views
Open in Slack
Previous
Next