view config/default_config.rb @ 216:e043da06b85f

Load javascript last.
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 02:48:43 +0900
parents 5466704c87ee
children 8dfbf854fad3
line wrap: on
line source

CONFIG['standalone'] = true if CONFIG['standalone'].nil?
CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test))
CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']