OSDN Git Service

t#30444:add site profile
[pettanr/pettanr.git] / config / application.rb
index 596df2c..4769151 100644 (file)
@@ -73,6 +73,7 @@ MagicNumber['test_layout'] = if File.exist? Rails.root + 'config/test_layout'
 else
   false
 end
+MagicNumber['profile'] = JSON.parse(open(Rails.root + 'config/profile.json').read).first[1] #strip profile body
 y = YAML.load(open(Rails.root + 'config/picture_io.yml').read)
 require y[Rails.env]["adapter"]
 pio = PictureIO.const_get y[Rails.env]["io"]