提交 e5a0a273 编写于 作者: J Jeremy Kemper

scaffold_resource naming, fixes #6276

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 148261a9
......@@ -2,7 +2,7 @@ Description:
Explain the generator
Example:
./script/generate resource_generator Thing
./script/generate scaffold_resource Thing
This will create:
what/will/it/create
\ No newline at end of file
what/will/it/create
......@@ -121,7 +121,7 @@ def manifest
protected
# Override with your own usage banner.
def banner
"Usage: #{$0} scaffold_resources ModelName"
"Usage: #{$0} scaffold_resource ModelName"
end
def scaffold_views
......@@ -137,4 +137,4 @@ def attributes
ScaffoldAttribute.new(*attribute.split(":"))
end
end
end
\ No newline at end of file
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册