changed output variable from data to albums

This commit is contained in:
Harry Bomrah 2014-06-12 18:28:51 +08:00
parent f48ae3228c
commit 122cff5a92
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class GalleriesController < ApplicationController
}
end
{
"data" => albums,
"albums" => albums,
"extras" => {"widget-title"=>"Gallery"}
}