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