OSDN Git Service

t#:
[pettanr/pettanr.git] / config / application.rb
index 46b22aa..3217e06 100644 (file)
@@ -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'