OSDN Git Service

change page status for offset
[pettanr/pettanr.git] / app / controllers / pictures_controller.rb
index 69456b6..497aba6 100644 (file)
@@ -9,10 +9,6 @@ class PicturesController < ApplicationController
   end
   before_filter :authenticate_admin, :only => [:index, :by_artist, :count, :count_by_artist]
   
-  def self.model
-    Picture
-  end
-  
   def index
     filer_list
   end
@@ -37,6 +33,7 @@ class PicturesController < ApplicationController
       format.jpeg { send_data(@item.restore(params[:subdir]), opt ) }
       show_html_format format
       show_json_format format
+      show_prof_format format
     end
   end