Skip to content

Commit

Permalink
Merge 5ac1521 into cd1ca47
Browse files Browse the repository at this point in the history
  • Loading branch information
johnunclesam committed Nov 29, 2017
2 parents cd1ca47 + 5ac1521 commit e691b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ When using a policy object, you may want to allow [introspection queries](http:/

<pre>
def self.guard(type, field)
<b>type.introspection?</b> || RULES.dig(type, field)
<b>type.introspection? ? ->(obj, args, ctx) { false } :</b> RULES.dig(type, field)
end
</pre>

Expand Down

0 comments on commit e691b76

Please sign in to comment.