Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix nil `controller.request`

Other plugins can use it (i.e. cancan)
  • Loading branch information...
commit 714054759f2a0b85580bde601ecdb8a53431ef20 1 parent 63ce564
@juniorz authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/rails3-amf/request_processor.rb
View
1  lib/rails3-amf/request_processor.rb
@@ -43,6 +43,7 @@ def handle_method method, args, env
# Run it
con = controller.new
+ con.request = req
res = con.dispatch(method_name, req)
return con.amf_response
end
Please sign in to comment.
Something went wrong with that request. Please try again.