From 939f13feebd5b88d505c3dfc5f49c6a075ceb99f Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 27 Apr 2015 20:25:07 +0800 Subject: [PATCH] fake commit 1 --- 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,