Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

in the restful authentication plugin current_user is protected so you…

… can't call it directly
  • Loading branch information...
commit 7771b8925413c6b6267bbeed8954bfcf2e2130a4 1 parent 684359b
authored March 19, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/sentient_user.rb
2  lib/sentient_user.rb
@@ -27,7 +27,7 @@ module SentientController
27 27
   def self.included(base)
28 28
     base.class_eval {
29 29
       before_filter do |c|
30  
-        User.current = c.current_user
  30
+        User.current = c.send(:current_user)
31 31
       end
32 32
     }
33 33
   end

0 notes on commit 7771b89

Please sign in to comment.
Something went wrong with that request. Please try again.