I've created this hack for hypertemplate: https://gist.github.com/1113898
It allows for having something like the following:
notifications {
members(:collection => @notifications, :root => false) do |notification|
id notification.id
title notification.title
end
}
This will return something like the following
{ "notifications":
[
{
"id": 2,
"title": "some title",
}
]
}
Would je be willing to add something like this?
I've created this hack for hypertemplate: https://gist.github.com/1113898
It allows for having something like the following:
This will return something like the following
Would je be willing to add something like this?