1 class SpeechBalloonsController < ApplicationController
2 before_filter :authenticate_admin!, :only => [:list, :browse]
5 @speech_balloons = SpeechBalloon.all
8 format.html { render layout: 'system' }
9 format.json { render json: @speech_balloons }
14 @speech_balloon = SpeechBalloon.find(params[:id])
16 respond_to do |format|
17 format.html { render layout: 'system' }
18 format.json { render json: @speech_balloon }