Commit 9afa57a
committed
Fix class loading for RouteAccessRule metadata models
Add require statements for RouteAccessRuleLabelModel and
RouteAccessRuleAnnotationModel to app/models.rb.
Rails autoloading is disabled for app/** so all models must be
explicitly required. This fixes the error:
uninitialized constant VCAP::CloudController::RouteAccessRuleLabelModel1 parent eaf45da commit 9afa57a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| |||
0 commit comments