app/models/carnival/field.rb in carnival-0.0.36 vs app/models/carnival/field.rb in carnival-0.0.37
- old
+ new
@@ -59,9 +59,17 @@
end
end
return :asc
end
+ def nested_form?
+ @params[:nested_form]
+ end
+
+ def nested_form_allow_destroy?
+ @params[:nested_form_allow_destroy]
+ end
+
def sortable?
@params[:sortable]
end
def searchable?