diaspora/config/initializers
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
..
1_intialize_app_config.rb
2_before_load_services.rb
3_setup_app_config.rb
airbrake.rb trying this on for size again; Revert "I can't test this at this momement. I will put it back in once i have a" 2012-04-19 21:02:29 -07:00
backtrace_silencers.rb
carrierwave.rb never use s3 in the test env ::sigh:: 2012-03-29 16:11:32 -07:00
check_session_secret.rb
client_side_validations.rb validations and all that jazz [ci skip] 2012-05-04 17:38:08 -07:00
cors.rb Cross-Origin Resource Sharing 2012-03-10 23:49:56 -08:00
devise.rb
direction_detector.rb
enforce_ssl.rb the middleware stack is just an array and insert_before just an alias to insert, basically, guess what inset(0, something) does. AKA finally fix Rack:SSL 2012-01-22 19:20:35 +01:00
faraday.rb
fetch_featured_users.rb
ignore_ssl_in_development.rb
inflections.rb
json_patch.rb
load_analyitics.rb remove google-analytics middleware due to the fact that it doesn't support injection of custom variables before _trackPageView is called (this results in custom vars not getting tracked) 2012-05-01 18:02:25 -07:00
load_mail_jobs.rb
locale.rb refactor locale initialization and selection a bit 2012-03-21 19:25:47 +01:00
mailer_config.rb
mime_types.rb
monkey_patch_to_xs.rb monkey patch to_xs for ruby 1.8, and fix a test as a result 2012-04-25 11:38:42 -07:00
newrelic.rb do not require newrelic or airbrake unless they are configured 2012-01-22 15:38:55 +01:00
oembed.rb make tests happy 2012-03-15 19:44:18 +01:00
oink.rb fix typo, sorry [ci skip] 2012-02-01 20:06:44 +01:00
omniauth.rb DG MS; popup on services, inlined in the composer 2012-05-08 18:09:33 -07:00
patch_openssl_pkey.rb more progress 2012-03-21 13:50:24 -07:00
rails_admin.rb Actually only load rails admin in production mode 2012-05-09 11:46:18 -07:00
resque.rb reorder so integration2 connects to correct redis port 2012-05-08 11:20:56 +02:00
rspec_generator.rb
session_store.rb
set_up_image_redirects.rb DG MS; add rack-rewrite to handle forwarding old urls [ci skip] 2012-01-26 16:32:46 -08:00
setup_mail.rb
static_assets.rb
version_header.rb
will_paginate.rb fix will paginate renderer 2012-03-16 18:58:01 +01:00