Merge pull request #11093 from nolman/restoring-scaffold-generation

restore correct scaffold generation
This commit is contained in:
Rafael Mendonça França 2013-06-25 10:39:48 -07:00
commit 7eaf90a7ab
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ module Rails
# GET index
def self.all(klass)
"#{klass}.scoped.to_a"
"#{klass}.all"
end
# GET show