X-Git-Url: http://git.osdn.net/view?p=pettanr%2Fpettanr.git;a=blobdiff_plain;f=config%2Fapplication.rb;h=3217e06c4d1704fb644a605d320a8f48320fe51f;hp=46b22aa38d6f4d0ba3d1e0ffadcd1a833461ea2d;hb=217d11149d268d99fab8517eb3309f33cac5eb19;hpb=17fdb3464638babad4f9b11bd4ddc316333fcca7 diff --git a/config/application.rb b/config/application.rb index 46b22aa3..3217e06c 100644 --- a/config/application.rb +++ b/config/application.rb @@ -63,10 +63,19 @@ config.assets.initialize_on_precompile = false def self.licenses @@licenses end - end + + def self.speech_balloons=(ary) + @@speech_balloons = ary + end + + def self.speech_balloons + @@speech_balloons + end + end end Pettanr::Application.licenses = YAML.load(open(Rails.root + 'config/license.yml').read) +Pettanr::Application.speech_balloons = YAML.load(open(Rails.root + 'config/speech_balloon.yml').read) MagicNumber = YAML.load(open(Rails.root + 'config/magic_number.yml').read) MagicNumber['test_layout'] = if File.exist? Rails.root + 'config/test_layout' 'test'