OSDN Git Service

remove counter api
[pettanr/pettanr.git] / app / controllers / original_pictures_controller.rb
index 92a5ab8..db1c504 100644 (file)
@@ -1,6 +1,6 @@
 #原画
 class OriginalPicturesController < ApplicationController
-  before_filter :authenticate_reader, :only => [:show, :history, :count]
+  before_filter :authenticate_reader, :only => [:show, :history]
   before_filter :authenticate_user, :only => [:index, :new, :edit, :create, :update, :destroy]
   before_filter :authenticate_artist, :only => [:index, :new, :edit, :create, :update, :destroy]
   
@@ -45,10 +45,6 @@ class OriginalPicturesController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
   def new
     set_new
     respond_to do |format|