Instead, a successful update redirects to the show action. The following lines.
现在,创建成功后将重定向到show action。
Now that you have seen a successful update, we'll show the case where the update fails.
在展示了一个更新成功的场景后,我们来看一个更新失败的例子。
We must fetch the current counter value from the server, but the counter state is remembered after a successful update.
我们必须从服务器获取当前的计数器值,但在成功更新之后将保存计数器的状态。
应用推荐