summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-06-01 08:02:17 -0600
committermo khan <mo@mokhan.ca>2013-06-01 08:02:17 -0600
commit9c93996a06f4546a925d2e88402662eff538e3e3 (patch)
treeeff3feef8e9d3def75a784664e3205a535907d9e /app/controllers/application_controller.rb
parent7d2d60fa7d0af354e18c72e097d146295e8da5c5 (diff)
remove mixpanel
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 413a7712..9a3caebb 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -3,14 +3,6 @@ class ApplicationController < ActionController::Base
before_filter :initialize_env
private
- def initialize_env
- @request_env = {
- 'REMOTE_ADDR' => request.env['REMOTE_ADDR'],
- 'HTTP_X_FORWARDED_FOR' => request.env['HTTP_X_FORWARDED_FOR'],
- 'rack.session' => request.env['rack.session'].to_hash,
- 'mixpanel_events' => request.env['mixpanel_events']
- }
- end
def resolve(target)
target.new(current_user)