Welcome Guest, Not a member yet? Register   Sign In
Routes and (:hash)
#2

(This post was last modified: 03-19-2020, 01:16 PM by jreklund.)

There are no difference to (:segment) other than the name. It's just so that you can organize your router differently. So you know what routes you have hashes and need to decode.

You can see a hashids example in this npm package:
https://www.npmjs.com/package/hashids
Reply


Messages In This Thread
Routes and (:hash) - by Michal_PB1 - 03-19-2020, 09:44 AM
RE: Routes and (:hash) - by jreklund - 03-19-2020, 01:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB