1 class SpeechBalloonsController < ApplicationController
2 if Manifest.manifest.magic_numbers['run_mode'] == 0
3 before_filter :authenticate_user, :only => []
4 before_filter :authenticate_author, :only => []
6 before_filter :authenticate_reader, :only => [
7 :index, :show, :by_panel, :by_author, :by_speech_balloon_template, :count, :count_by_panel, :count_by_author, :count_by_speech_balloon_template
9 before_filter :authenticate_user, :only => []
10 before_filter :authenticate_author, :only => []
29 def by_speech_balloon_template
33 def show_html_format format
36 @speech_balloon = @item
42 respond_to do |format|
43 show_html_format format
44 show_prof_format format
45 show_json_format format
61 def count_by_speech_balloon_template