提交 77b238d1 编写于 作者: J José Valim

Remove :layout option from generators.

上级 4f1d0f6b
......@@ -41,14 +41,9 @@ module Generators
}
DEFAULT_OPTIONS = {
:erb => {
:layout => true
},
:rails => {
:force_plural => false,
:helper => true,
:layout => true,
:orm => nil,
:integration_tool => nil,
:performance_tool => nil,
......
......@@ -8,7 +8,6 @@ class ScaffoldGenerator < Base
argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
class_option :layout, :type => :boolean
class_option :singleton, :type => :boolean, :desc => "Supply to skip index view"
def create_root_folder
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册