mirror of
https://github.com/ubicloud/ubicloud.git
synced 2025-10-09 00:01:59 +08:00
This can cause a problem if the show template is rendered when handling a validation error, because request.path will be the path the form was submitted to, and not the path the form was originally displayed on. Construct a correct path that will be valid in both cases. |
||
---|---|---|
.. | ||
create.erb | ||
index.erb | ||
show.erb |