OSDN Git Service

fix new element dialog
[pettanr/pettanr.git] / app / controllers / ground_colors_controller.rb
index 168bda3..0f031f9 100644 (file)
@@ -4,15 +4,11 @@ class GroundColorsController < 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
-    GroundColor
-  end
   
   def index
     filer_list
@@ -41,16 +37,4 @@ class GroundColorsController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
-  def count_by_panel
-    list_count
-  end
-  
-  def count_by_author
-    list_count
-  end
-  
 end