OSDN Git Service

temp
[pettanr/pettanr.git] / app / controllers / pictures_controller.rb
index 4f472f4..959f171 100644 (file)
@@ -11,7 +11,7 @@ class PicturesController < ApplicationController
   before_filter :authenticate_admin!, :only => [:list, :browse]
   
   def show
-    @item = Picture.show(params[:id], [@user, @admin, @demand_user])
+    @item = Picture.show(params[:id], @operators)
 
     respond_to do |format|
       opt = {:type => @item.mime_type, :disposition=>"inline"}