OSDN Git Service

fix manifest
[pettanr/pettanr.git] / app / controllers / balloons_controller.rb
index d4f94ae..cb3a4e8 100644 (file)
@@ -4,12 +4,11 @@ class BalloonsController < ApplicationController
     before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
   else
     before_filter :authenticate_reader, :only => [
-      :index, :show, :by_speech_balloon, :count, :count_by_speech_balloon
+      :index, :show, :by_author, :count, :count_by_author
     ]
     before_filter :authenticate_user, :only => [:new, :edit, :create, :update, :destroy]
     before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
   end
-  before_filter :authenticate_admin!, :only => [:list, :browse]
   
   def self.model
     Balloon
@@ -19,7 +18,7 @@ class BalloonsController < ApplicationController
     filer_list
   end
   
-  def by_speech_balloon
+  def by_author
     filer_list
   end
   
@@ -43,7 +42,7 @@ class BalloonsController < ApplicationController
     list_count
   end
   
-  def count_by_speech_balloon
+  def count_by_author
     list_count
   end