OSDN Git Service

fix new element dialog
[pettanr/pettanr.git] / app / controllers / speech_balloon_templates_controller.rb
index 96f337d..42b1724 100644 (file)
@@ -3,15 +3,11 @@ class SpeechBalloonTemplatesController < ApplicationController
     before_filter :authenticate_user, :only => []
   else
     before_filter :authenticate_reader, :only => [
-      :index, :show, :by_panel, :by_system_picture, :count, :count_by_panel, :count_by_system_picture
+      :index, :show, :by_panel, :by_system_picture
     ]
     before_filter :authenticate_user, :only => []
   end
   before_filter :authenticate_admin, :only => [:new, :create, :edit, :update, :destroy]
-
-  def self.model
-    SpeechBalloonTemplate
-  end
   
   def index
     filer_list
@@ -39,18 +35,6 @@ class SpeechBalloonTemplatesController < ApplicationController
     end
   end
   
-  def count
-    list_count
-  end
-  
-  def count_by_panel
-    list_count
-  end
-  
-  def count_by_system_picture
-    list_count
-  end
-  
   def new
     form_new
   end