redirect to a route alias on a form validation error
- by Kevin Monk
If I'm on a route alias such as /register and I have a form error and I render :new, is it possible for the path to be /register still?
At the moment it is rendering /new
I could do a redirect_to register_path but then I would lose the params?
It's making the following test fail:
Scenario: Try registering with a bad staff number
Given I am on…