From 09ae60a172b45be1ea745f5be5d510a023a71bfc Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 20 Oct 2014 20:29:45 +0800 Subject: [PATCH] small fix for backedn --- app/controllers/admin/galleries_controller.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/admin/galleries_controller.rb b/app/controllers/admin/galleries_controller.rb index e74890f..57d7ba2 100644 --- a/app/controllers/admin/galleries_controller.rb +++ b/app/controllers/admin/galleries_controller.rb @@ -125,8 +125,7 @@ class Admin::GalleriesController < OrbitAdminController end def imgs - @album = Album.find(params[:id]) - debugger + @album = Album.find(params[:gallery_id]) @tag_names = Array.new @images = @album.album_images.all @output = Array.new