OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / controllers / panel_pictures_controller.rb
index 09d1f54..3ae4dac 100644 (file)
@@ -4,16 +4,12 @@ class PanelPicturesController < ApplicationController
     before_filter :authenticate_author, :only => []
   else
     before_filter :authenticate_reader, :only => [
-      :index, :show, :by_panel, :by_author, :count, :count_by_panel, :count_by_author
+      :index, :show, :by_panel, :by_author
     ]
     before_filter :authenticate_user, :only => []
     before_filter :authenticate_author, :only => []
   end
   
-  def self.model
-    PanelPicture
-  end
-  
   def index
     filer_list
   end
@@ -41,16 +37,4 @@ class PanelPicturesController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
-  def count_by_panel
-    list_count
-  end
-  
-  def count_by_author
-    list_count
-  end
-  
 end