this indentation makes it a bit hard to read -- can we start `redirect_to` on next line and align params to `generate_url` with each other?