view config/default_config.rb @ 229:388504e43bcf

Properly return 404 when requesting invalid paste.
author Edho Arief <edho@myconan.net>
date Wed, 15 May 2013 14:10:35 +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']