small fix for backedn

This commit is contained in:
Harry Bomrah 2014-10-20 20:29:45 +08:00
parent 5f3d97d7c2
commit 09ae60a172
1 changed files with 1 additions and 2 deletions

View File

@ -125,8 +125,7 @@ class Admin::GalleriesController < OrbitAdminController
end end
def imgs def imgs
@album = Album.find(params[:id]) @album = Album.find(params[:gallery_id])
debugger
@tag_names = Array.new @tag_names = Array.new
@images = @album.album_images.all @images = @album.album_images.all
@output = Array.new @output = Array.new