Hi, As Josh Montgomery pointed out its not necessary unless its something very sensitive that said its not a suitable way to expose those id's in auto-incremented way. If someone were to scrape the site, it will be easier to do that, its better to keep a random hash for everything unless extremely necessary.
just dont keep the
:id
as auto-inremented replace it with its random hash or something