OSDN Git Service

redraw page title
[pettanr/pettanr.git] / app / controllers / balloons_controller.rb
index cb3a4e8..12da158 100644 (file)
@@ -4,7 +4,7 @@ class BalloonsController < ApplicationController
     before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
   else
     before_filter :authenticate_reader, :only => [
-      :index, :show, :by_author, :count, :count_by_author
+      :index, :show, :by_author, :by_speech_balloon, :count, :count_by_author
     ]
     before_filter :authenticate_user, :only => [:new, :edit, :create, :update, :destroy]
     before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
@@ -22,6 +22,10 @@ class BalloonsController < ApplicationController
     filer_list
   end
   
+  def by_speech_balloon
+    filer_list
+  end
+  
   def show_html_format format
     format.html {
       @item.boosts 'post'