1 class SpeechBalloonTemplatesController < ApplicationController
2 if Manifest.manifest.magic_numbers['run_mode'] == 0
3 before_filter :authenticate_user, :only => []
5 before_filter :authenticate_reader, :only => [
6 :index, :show, :by_panel, :by_system_picture
8 before_filter :authenticate_user, :only => []
10 before_filter :authenticate_admin, :only => [:new, :create, :edit, :update, :destroy]
24 def show_html_format format
31 respond_to do |format|
32 show_html_format format
33 show_prof_format format
34 show_json_format format
47 @item = SpeechBalloonTemplate.find(params[:id])
50 respond_to do |format|
51 format.html { redirect_to :action => :list }
52 format.json { head :ok }