1 class BalloonsController < ApplicationController
2 if Manifest.manifest.magic_numbers['run_mode'] == 0
3 before_filter :authenticate_user, :only => [:new, :edit, :create, :update, :destroy]
4 before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
6 before_filter :authenticate_reader, :only => [
8 :by_author, :by_speech_balloon, :by_speech_balloon_template, :by_system_picture,
9 :count_by_author, :count_by_speech_balloon, :count_by_speech_balloon_template, :count_by_system_picture
11 before_filter :authenticate_user, :only => [:new, :edit, :create, :update, :destroy]
12 before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
27 def by_speech_balloon_template
35 def show_html_format format
44 respond_to do |format|
45 show_html_format format
46 show_prof_format format
47 show_json_format format
59 def count_by_speech_balloon
63 def count_by_speech_balloon_template
67 def count_by_system_picture