mirror of https://github.com/rails/rails
Merge pull request #11093 from nolman/restoring-scaffold-generation
restore correct scaffold generation
This commit is contained in:
commit
7eaf90a7ab
|
@ -34,7 +34,7 @@ module Rails
|
|||
|
||||
# GET index
|
||||
def self.all(klass)
|
||||
"#{klass}.scoped.to_a"
|
||||
"#{klass}.all"
|
||||
end
|
||||
|
||||
# GET show
|
||||
|
|
Loading…
Reference in New Issue