خرید بک لینک

Vote count: 0

Looking at Phoenix, is there an equivalent to shallow routing similar to how rails accomplishes this?

This would allow you to reference /posts/1 instead of /users/2/posts/1

e.g.,

resources "/users", UserController do resources "/posts", PostController, shallow: true end

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 10 خرداد 1395 ساعت: 7:25

صفحه بندی