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.lua中两个app:use不能同一个router #3

Closed
lihuibin opened this issue Feb 25, 2016 · 1 comment
Closed

router.lua中两个app:use不能同一个router #3

lihuibin opened this issue Feb 25, 2016 · 1 comment

Comments

@lihuibin
Copy link
Contributor

router.lua

local videoRouter = require("app.routes.video")
return function(app)
    app:use("/admin/video",videoRouter())
    app:use("/api/video",videoRouter())
end
@sumory
Copy link
Owner

sumory commented Feb 26, 2016

fixed with commit 60de3f

@sumory sumory closed this as completed Feb 26, 2016
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

2 participants