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:
parent
0c850f8dab
commit
e17ddc255d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module Rails
|
|||
|
||||
# GET index
|
||||
def self.all(klass)
|
||||
"#{klass}.scoped.to_a"
|
||||
"#{klass}.all"
|
||||
end
|
||||
|
||||
# GET show
|
||||
|
|
Loading…
Reference in a new issue