OSDN Git Service

remove counter api
[pettanr/pettanr.git] / app / controllers / pictures_controller.rb
index 497aba6..1dd8e5b 100644 (file)
@@ -4,10 +4,12 @@ class PicturesController < ApplicationController
     before_filter :authenticate_author, :only => []
   else
     before_filter :authenticate_user, :only => []
-    before_filter :authenticate_resource_reader, :only => [:show, :credit, :search]
+    before_filter :authenticate_resource_reader, :only => [
+      :show, :credit, :search
+    ]
     before_filter :authenticate_author, :only => []
   end
-  before_filter :authenticate_admin, :only => [:index, :by_artist, :count, :count_by_artist]
+  before_filter :authenticate_admin, :only => [:index, :by_artist ]
   
   def index
     filer_list
@@ -55,12 +57,4 @@ class PicturesController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
-  def count_by_artist
-    list_count
-  end
-  
 end