def show_html_format format
format.html {
- @speech_balloon_template = @item
}
end
end
def destroy
- @speech_balloon_template = SpeechBalloonTemplate.find(params[:id])
- @speech_balloon_template.destroy
+ @item = SpeechBalloonTemplate.find(params[:id])
+ @item.destroy
respond_to do |format|
format.html { redirect_to :action => :list }