mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-30 20:51:18 +00:00
Patch by Akiko Takano and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@15262 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
359 B
Plaintext
13 lines
359 B
Plaintext
api.array :results 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
|