1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

restore correct scaffold generation

This commit is contained in:
Nolan Evans 2013-06-25 10:32:58 -07:00
parent 0c850f8dab
commit e17ddc255d

View file

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