From 122cff5a927743fed053b85433121d8596a93a1e Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 12 Jun 2014 18:28:51 +0800 Subject: [PATCH] changed output variable from data to albums --- app/controllers/galleries_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 6746b57..7bfa65c 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -9,7 +9,7 @@ class GalleriesController < ApplicationController } end { - "data" => albums, + "albums" => albums, "extras" => {"widget-title"=>"Gallery"} }