All tags / #routing

#routing

2 posts

Pretty URLs with bindBy: the unshareable link

Peter Amiri

A support engineer pastes a link into a customer chat, and they get /posts/4821. Nobody shares /posts/4821. bindBy="slug" exists to make resource URLs say something — and it comes with one mistake you can make that quietly breaks your site.

Routing Deep-Dive: Resources, Nested Callbacks, and Route Model Binding

Peter Amiri

A complete Wheels 4.0 routing guide — RESTful resources, nested resources via callback vs manual nested=true, and route model binding that resolves params.post before your action runs. Plus the sharp edges: route order, the protected-helper-names trap, and how a missing record 404s.

Newsletter

Release notes and new posts, once a month. No spam.

Prefer RSS? Subscribe to the feed →