app/views/scrivito/objs/search.json.jbuilder in scrivito_sdk-0.40.0.rc1 vs app/views/scrivito/objs/search.json.jbuilder in scrivito_sdk-0.40.0.rc2
- old
+ new
@@ -1,6 +1,6 @@
json.total @enumerator.size
json.hits do
json.merge!(@enumerator.load_batch.map { |obj|
- @formatter.call(obj, scrivito_user)
+ @formatter.call(obj, scrivito_user, controller.view_context)
})
end