From af411167261f5ece0581f020406c9612d4ed0eda Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 27 Apr 2015 18:40:10 +0800 Subject: [PATCH] fake commit --- app/controllers/galleries_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 68b23e7..dd428f5 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -1,6 +1,7 @@ class GalleriesController < ApplicationController def index albums = Album.filter_by_categories.asc(:order) + galleries = albums.collect do |a| { "album-name" => a.name,