Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'features/relation_insecurely' into wip

  • Loading branch information...
commit d0e9a69bd23e000bf1fdd602ee7449b5e0120fda 2 parents 074313f + af505aa
Denis Yagofarov authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/heimdallr/proxy/collection.rb
4 lib/heimdallr/proxy/collection.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.