OSDN Git Service

fix new element dialog
[pettanr/pettanr.git] / app / controllers / balloons_controller.rb
index 6a5637e..f9079cc 100644 (file)
@@ -4,9 +4,8 @@ class BalloonsController < ApplicationController
     before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
   else
     before_filter :authenticate_reader, :only => [
-      :index, :show, :count, 
-      :by_author, :by_speech_balloon, :by_speech_balloon_template, :by_system_picture, 
-      :count_by_author, :count_by_speech_balloon, :count_by_speech_balloon_template, :count_by_system_picture
+      :index, :show, 
+      :by_author, :by_speech_balloon, :by_speech_balloon_template, :by_system_picture
     ]
     before_filter :authenticate_user, :only => [:new, :edit, :create, :update, :destroy]
     before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
@@ -48,26 +47,6 @@ class BalloonsController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
-  def count_by_author
-    list_count
-  end
-  
-  def count_by_speech_balloon
-    list_count
-  end
-  
-  def count_by_speech_balloon_template
-    list_count
-  end
-  
-  def count_by_system_picture
-    list_count
-  end
-  
   def new
     form_new
   end