diff options
Diffstat (limited to 'actionpack/lib/action_dispatch/railties')
-rw-r--r-- | actionpack/lib/action_dispatch/railties/subscriber.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/actionpack/lib/action_dispatch/railties/subscriber.rb b/actionpack/lib/action_dispatch/railties/subscriber.rb deleted file mode 100644 index c08a844c6a..0000000000 --- a/actionpack/lib/action_dispatch/railties/subscriber.rb +++ /dev/null @@ -1,17 +0,0 @@ -module ActionDispatch - module Railties - class Subscriber < Rails::Subscriber - def before_dispatch(event) - request = Request.new(event.payload[:env]) - path = request.request_uri.inspect rescue "unknown" - - info "\n\nProcessing #{path} to #{request.formats.join(', ')} " << - "(for #{request.remote_ip} at #{event.time.to_s(:db)}) [#{request.method.to_s.upcase}]" - end - - def logger - ActionController::Base.logger - end - end - end -end
\ No newline at end of file |