changed output variable from data to albums
This commit is contained in:
parent
f48ae3228c
commit
122cff5a92
|
@ -9,7 +9,7 @@ class GalleriesController < ApplicationController
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
{
|
{
|
||||||
"data" => albums,
|
"albums" => albums,
|
||||||
"extras" => {"widget-title"=>"Gallery"}
|
"extras" => {"widget-title"=>"Gallery"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue