When you generated the code for the editor controller, a test was created in test \ functional \ editor_controller_test.rb.
为编辑器控制器生成代码时,会在test \ functional \ editor _ controller _ test . rb中创建测试。
To restrict everything under the editor controller (that is, under the relative URL editor/*), add the security section below to web.xml.erb.
为了对编辑器控制下(即位于相对 URL editor/* 下)的所有内容进行限制,请将下面的 security section 部分添加到 web.xml.erb 中。
The third command, jruby script\generate scaffold Wish Editor, scaffolds the basic list, create, edit, and delete actions in the editor controller for the wish objects stored in the database.
第三个命令 jruby script\generate scaffold Wish Editor 提供基本列表和针对存储在数据库中的 wish 对象的编辑器控制器操作(创建、编辑和删除)。
应用推荐