1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
Commit graph

2 commits

Author SHA1 Message Date
Ben Dilley
10910d9eeb Allow specification of a NilClassPolicy
This saves having to check whether objects are nil before checking their
policy.

This contradicts the intent of elabs/pundit#251 and could represent a
breaking change for some.
2018-06-07 09:57:51 +01:00
Brendan Thomas
60be0654aa Add PolicyFinder spec 2018-06-05 11:33:40 -04:00