Skip to content

Commit

Permalink
scaffold_resource naming, fixes #6276
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Sep 25, 2006
1 parent 148261a commit e5a0a27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
what/will/it/create
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -137,4 +137,4 @@ def attributes
ScaffoldAttribute.new(*attribute.split(":"))
end
end
end
end

0 comments on commit e5a0a27

Please sign in to comment.