Skip to content

Commit 5fe2c5f

Browse files
author
Hilda Stastna
committed
Get proper record class for vm_infra controller
1 parent 366ea17 commit 5fe2c5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/controllers/vm_infra_controller.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ def self.table_name
1414
@table_name ||= "vm_infra"
1515
end
1616

17+
def record_class
18+
VmOrTemplate
19+
end
20+
1721
private
1822

1923
def features

0 commit comments

Comments
 (0)