X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=app%2Fviews%2Fpanels%2F_body.html.erb;h=89e4abb38cc7a2caefe31fadfbfe42e68125812f;hp=a25be02071a1d9188da323bcd9eda8d9b596505a;hb=c1cc9e23250273e2e8258240768c57ab25b15677;hpb=6e65d291704afd169130b76c6345c5cd40ff9792 diff --git a/app/views/panels/_body.html.erb b/app/views/panels/_body.html.erb index a25be020..89e4abb3 100644 --- a/app/views/panels/_body.html.erb +++ b/app/views/panels/_body.html.erb @@ -1,19 +1,7 @@ <% panel.panel_elements.each do |elm| %> <% case elm.class.to_s %> <% when 'SpeechBalloon' %> - <% - speech_balloon = elm - speech_balloon_template = speech_balloon.speech_balloon_template - balloon = speech_balloon.balloon - speech = speech_balloon.speech - speech_balloon.extend speech_balloon_template.engine_speech_balloon_module - balloon.extend speech_balloon_template.engine_balloon_module - speech.extend speech_balloon_template.engine_speech_module - - balloon.new_speech_balloon = speech_balloon - speech.new_speech_balloon = speech_balloon - - %> + <% elm.boost %> <% end %> <% end %>