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
10 before_filter :authenticate_user, :only => [:new, :edit, :create, :update, :destroy]
11 before_filter :authenticate_author, :only => [:new, :edit, :create, :update, :destroy]
26 def by_speech_balloon_template
34 def show_html_format format
43 respond_to do |format|
44 show_html_format format
45 show_prof_format format
46 show_json_format format