Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router has now been edited to take three parameters #9

Open
Qqwy opened this issue May 14, 2017 · 0 comments
Open

Router has now been edited to take three parameters #9

Qqwy opened this issue May 14, 2017 · 0 comments

Comments

@Qqwy
Copy link

Qqwy commented May 14, 2017

I was linked to this tutorial from this YouTube video. It was great to follow along!

One thing that went wrong, however, are the Routing commands. It seems that newer versions of the router crate require router.get, router.post etc. to be used with three parameters, the third one being a symbolic name to refer to the route to later (such as in when using router::url_for).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant