annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
165
5466704c87ee I mean this.
Edho Arief <edho@myconan.net>
parents: 164
diff changeset
1 CONFIG['standalone'] = true if CONFIG['standalone'].nil?
5466704c87ee I mean this.
Edho Arief <edho@myconan.net>
parents: 164
diff changeset
2 CONFIG['newrelic'] = false if CONFIG['newrelic'].nil?
147
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
3 CONFIG['bundler_groups'] ||= Rails.groups(:assets => %w(development test))
812711965af1 Added support for disabling supported web server without changing Gemfile.
Edho Arief <edho@myconan.net>
parents:
diff changeset
4 CONFIG['bundler_groups'] << 'standalone' if CONFIG['standalone']
156
d7b64b639d15 Disable newrelic by default (configurable).
Edho Arief <edho@myconan.net>
parents: 147
diff changeset
5 CONFIG['bundler_groups'] << 'newrelic' if CONFIG['newrelic']