Skip to content

Commit

Permalink
[api] fix variable name in status/history
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Sep 18, 2013
1 parent caf4d9b commit bc8519d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/app/views/status/history.xml.builder
@@ -1,6 +1,6 @@
xml.history do
StatusHelper.resample(@values, @samples).each do |time, val|
builder.value(:time => time,
:value => val) # for debug, :timestring => Time.at(time) )
xml.value(time: time,
value: val) # for debug, :timestring => Time.at(time) )
end
end
end

0 comments on commit bc8519d

Please sign in to comment.