mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@15264 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
438 B
Plaintext
13 lines
438 B
Plaintext
api.array :results, api_meta(:total_count => @result_count, :offset => @offset, :limit => @limit) do
|
|
@results.each do |result|
|
|
api.result do
|
|
api.id result.id
|
|
api.title result.event_title
|
|
api.type result.event_type
|
|
api.url url_for(result.event_url(:only_path => false))
|
|
api.description result.event_description
|
|
api.datetime result.event_datetime
|
|
end
|
|
end
|
|
end
|