本文讨论了如何定制用户界面元素(比如欢迎页、登录页和重定向页),以及如何向动作栏中添加动作。
The article discussed how to customize user-interface elements (such as the welcome, login, and redirection pages), and how to add actions to the action bar.
现在,以 /blog 开头的那些 URI 都将会被重新定向到条目控制器和列表动作。
Now URIs that begin with /blog will be redirected to the entry controller and the list action.
如果记录被成功地保存到数据库中,那么该动作会重定向到show动作页面。
It redirects you to the show action page if the record gets saved to the database without error.
应用推荐