Permalink
Browse files

Merge pull request #10536 from vipulnsward/fix_exp_warning

remove variable and fix warning
  • Loading branch information...
2 parents 9b77f66 + 7133b00 commit c761f061bf6fc0efe04c45db73971e9bf4ecaa9e @carlosantoniodasilva carlosantoniodasilva committed May 9, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 actionpack/lib/action_dispatch/middleware/public_exceptions.rb
View
1 actionpack/lib/action_dispatch/middleware/public_exceptions.rb
@@ -7,7 +7,6 @@ def initialize(public_path)
end
def call(env)
- exception = env["action_dispatch.exception"]
status = env["PATH_INFO"][1..-1]
request = ActionDispatch::Request.new(env)
content_type = request.formats.first

0 comments on commit c761f06

Please sign in to comment.