diaspora/config
Steven Hancock 4c644c336b Actually only load rails admin in production mode
This is what I think 28f8db51e7 was supposed to do.

With the initializer in an "unless Rails.env.production?" block
the entire initializer was being ignored in production mode and
loaded in all other environments, but Rails Admin was still
loading regardless of that. 😁

This only loads rails admin in production and excludes it from
all other environments. Also keeps non-admins out of /admin_panel
(without the initializer it was free-for-all) and temp fixes #3210
until a new gem is released.
2012-05-09 11:46:18 -07:00
..
deploy capistrano deploy: let the user choose if running svc and svstat with sudo 2012-02-04 17:59:30 +01:00
environments remove debug_rjs reference 2012-05-08 11:20:42 +02:00
initializers Actually only load rails admin in production mode 2012-05-09 11:46:18 -07:00
locales updated 47 locale files [ci skip] 2012-05-08 12:21:45 +02:00
application.rb Precompile Rails Admin assets 2012-04-25 04:50:46 -07:00
application.yml.example match integration pod ports 2012-05-08 12:42:12 +02:00
boot.rb MS DG update copyright 2011-09-14 11:23:12 -07:00
cap_colors.rb Added color definition file at config/cap_colors.rb 2011-11-15 09:06:15 -08:00
cool_people.yml more cool seed fixings 2012-04-24 13:48:14 -07:00
cucumber.yml
database.yml.example YAML gotchas part 2: you can't use those references or whatever they're called before they are defined 2012-04-10 22:08:21 +02:00
deploy.rb Fix Jasmine tests - first pass 2012-03-27 18:08:27 -07:00
deploy_config.yml.example capistrano deploy: let the user choose if running svc and svstat with sudo 2012-02-04 17:59:30 +01:00
environment.rb refactor locale initialization and selection a bit 2012-03-21 19:25:47 +01:00
heroku.yml.example working on making heroku_san magical 2012-01-19 19:21:10 -08:00
locale_settings.yml art_nvi -> art-nvi [ci skip] 2012-04-12 18:27:16 +02:00
newrelic.yml allow custom app_name prefixes for newrelic 2012-01-20 12:25:05 -08:00
oauth_keys.yml.example MS DC; oauth keys are now pulled out of application.yml to be simplier. incldue newrelic as heroku expects it, without affecting people who do not use newrelic. If you do use new relic in production, you have to put your newrelic api key in application.yml 2012-01-05 17:31:38 -08:00
routes.rb Actually only load rails admin in production mode 2012-05-09 11:46:18 -07:00
schedule.rb.example Adds maintenance rake tasks for logrotate and temp file deletion; Adds whenever gem + sample whenever file 2011-12-15 15:18:07 -08:00
script_server.yml.example rename config/script_server_config.yml to config/script_server.yml to remove redundancy 2011-09-07 03:30:43 +02:00
selenium.yml MS DG update copyright 2011-09-14 11:23:12 -07:00
thin.yml MS DG update copyright 2011-09-14 11:23:12 -07:00
unicorn.rb preload_app in unicorn 2012-01-27 11:42:51 -08:00