Permalink
Browse files

Merge branch 'features/relation_insecurely' into wip

  • Loading branch information...
2 parents 074313f + af505aa commit d0e9a69bd23e000bf1fdd602ee7449b5e0120fda @denyago committed Nov 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/heimdallr/proxy/collection.rb
@@ -45,7 +45,7 @@ def restrict(context, options=nil)
#
# @return self
def insecurely(&block)
- block.call(self.insecure).restrict(reflect_on_security)
+ block.call(self.insecure).restrict(@context)
end
# @private
@@ -309,4 +309,4 @@ def options_with_eager_load
@options
end
end
-end
+end

0 comments on commit d0e9a69

Please sign in to comment.