Commit 4f5e0f72 by John Doe

sync api with frontend

parent f2a528ee
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@ json.data do
json.partial! "db", db: @nilm.db, as: :db
json.available @nilm.db.available
end
json.joule_modules(@nilm.joule_modules) do |m|
json.jouleModules(@nilm.joule_modules) do |m|
json.extract! m, *JouleModule.json_keys
json.url @url_template % [m.id]
json.nilm_id @nilm.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment