OSDN Git Service

fix event names
[pettanr/pettanr.git] / app / controllers / ground_pictures_controller.rb
index 7d5fb1c..db7c553 100644 (file)
@@ -4,16 +4,12 @@ class GroundPicturesController < 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
-    GroundPicture
-  end
-  
   def index
     filer_list
   end
@@ -41,16 +37,4 @@ class GroundPicturesController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
-  def count_by_panel
-    list_count
-  end
-  
-  def count_by_author
-    list_count
-  end
-  
 end